summaryrefslogtreecommitdiffstats
path: root/syntax/vimgo.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-11-11 02:37:21 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-11-11 02:37:21 +0100
commit617b01a5b6aa3cadb25b2ff8639e330cfc6cf3c1 (patch)
tree97fc653e0c19839490bd7aac6beeb4f5754155be /syntax/vimgo.vim
parentbd35da8e9ca0bddd95539bef0c8f4857dc4cc746 (diff)
downloadvim-polyglot-617b01a5b6aa3cadb25b2ff8639e330cfc6cf3c1.tar.gz
vim-polyglot-617b01a5b6aa3cadb25b2ff8639e330cfc6cf3c1.zip
Updatev1.10.3
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