From 35b1b0129e8791a9412173acf3756606d0cc397d Mon Sep 17 00:00:00 2001 From: pommicket Date: Fri, 22 Jul 2022 14:54:07 -0400 Subject: go syntax highlighting also :goto-line now clamps numbers < 1 and > nlines instead of rejecting them --- test.go | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test.go (limited to 'test.go') diff --git a/test.go b/test.go new file mode 100644 index 0000000..98eea24 --- /dev/null +++ b/test.go @@ -0,0 +1,18 @@ +package main + +import "fmt" + +/* +what +a +wonderful +day +*///yes + +func main() { + var x []int = make([]int, 10) + fmt.Println(x != nil) + println(`hello + world\`) + println("yes\"\\") +} -- cgit v1.2.3