summaryrefslogtreecommitdiffstats
path: root/syntax/haskell.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-11-19 21:26:59 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-11-19 21:27:05 +0100
commitd219055bc845253eff2b27d30a23b11b97b7ee9d (patch)
treea4586dfdbce3a304759a0c34175ee41fdede4e17 /syntax/haskell.vim
parent0e9041f29a3288b6685aafc63d914c11fef539ba (diff)
downloadvim-polyglot-d219055bc845253eff2b27d30a23b11b97b7ee9d.tar.gz
vim-polyglot-d219055bc845253eff2b27d30a23b11b97b7ee9d.zip
Update
Diffstat (limited to 'syntax/haskell.vim')
-rw-r--r--syntax/haskell.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/haskell.vim b/syntax/haskell.vim
index bd5c02ce..048a40ea 100644
--- a/syntax/haskell.vim
+++ b/syntax/haskell.vim
@@ -99,6 +99,7 @@ syn region haskellBlockComment start="{-" end="-}"
\ haskellTodo,
\ @Spell
syn region haskellPragma start="{-#" end="#-}"
+syn region haskellLiquid start="{-@" end="@-}"
syn match haskellPreProc "^#.*$"
syn keyword haskellTodo TODO FIXME contained
" Treat a shebang line at the start of the file as a comment
@@ -147,6 +148,7 @@ highlight def link haskellShebang Comment
highlight def link haskellLineComment Comment
highlight def link haskellBlockComment Comment
highlight def link haskellPragma SpecialComment
+highlight def link haskellLiquid SpecialComment
highlight def link haskellString String
highlight def link haskellChar String
highlight def link haskellBacktick Operator