summaryrefslogtreecommitdiffstats
path: root/syntax/godebugoutput.vim
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/godebugoutput.vim')
-rw-r--r--syntax/godebugoutput.vim17
1 files changed, 17 insertions, 0 deletions
diff --git a/syntax/godebugoutput.vim b/syntax/godebugoutput.vim
new file mode 100644
index 00000000..f1df1d9e
--- /dev/null
+++ b/syntax/godebugoutput.vim
@@ -0,0 +1,17 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
+
+if exists("b:current_syntax")
+ finish
+endif
+
+syn match godebugOutputErr '^ERR:.*'
+syn match godebugOutputOut '^OUT:.*'
+
+let b:current_syntax = "godebugoutput"
+
+hi def link godebugOutputErr Comment
+hi def link godebugOutputOut Normal
+
+" vim: sw=2 ts=2 et
+
+endif