summaryrefslogtreecommitdiff
path: root/test.go
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2022-07-22 14:54:07 -0400
committerpommicket <pommicket@gmail.com>2022-07-22 14:54:07 -0400
commit35b1b0129e8791a9412173acf3756606d0cc397d (patch)
tree6e631f6382cabf4ad2522bf4386828aaabae3347 /test.go
parent47a65f608f485af32d2df12be489146ad67839e1 (diff)
go syntax highlighting
also :goto-line now clamps numbers < 1 and > nlines instead of rejecting them
Diffstat (limited to 'test.go')
-rw-r--r--test.go18
1 files changed, 18 insertions, 0 deletions
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\"\\")
+}