summaryrefslogtreecommitdiffstats
path: root/syntax/vimgo.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/vimgo.vim')
-rw-r--r--syntax/vimgo.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/syntax/vimgo.vim b/syntax/vimgo.vim
new file mode 100644
index 00000000..d62791d3
--- /dev/null
+++ b/syntax/vimgo.vim
@@ -0,0 +1,11 @@
+if exists("b:current_syntax")
+ finish
+endif
+
+let b:current_syntax = "vimgo"
+
+syn match goInterface /^\S*/
+syn region goTitle start="\%1l" end=":"
+
+hi def link goInterface Type
+hi def link goTitle Label