summaryrefslogtreecommitdiffstats
path: root/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'syntax')
-rw-r--r--syntax/unison.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/syntax/unison.vim b/syntax/unison.vim
index 8353dce9..2578add8 100644
--- a/syntax/unison.vim
+++ b/syntax/unison.vim
@@ -97,6 +97,7 @@ endif
syn match uLineComment "---*\([^-!#$%&\*\+./<=>\?@\\^|~].*\)\?$"
syn region uBlockComment start="{-" end="-}" contains=uBlockComment
syn region uPragma start="{-#" end="#-}"
+syn region uBelowFold start="^---" skip="." end="." contains=uBelowFold
" Docs
syn region uDocBlock start="\[:" end=":]" contains=uLink,uDocDirective
@@ -134,6 +135,7 @@ if version >= 508 || !exists("did_u_syntax_inits")
HiLink uBlockComment uComment
HiLink uLineComment uComment
HiLink uComment Comment
+ HiLink uBelowFold Comment
HiLink uDocBlock String
HiLink uLink uType
HiLink uDocDirective uImport
@@ -148,6 +150,7 @@ if version >= 508 || !exists("did_u_syntax_inits")
delcommand HiLink
endif
+
let b:current_syntax = "unison"
" Options for vi: ts=8 sw=2 sts=2 nowrap noexpandtab ft=vim