Skip to content

Commit d877d5c

Browse files
authored
Merge pull request #100 from epsilonhalbe/patch-1
add liquid haskell annotations to highlighting
2 parents 65699dc + 58f2ae5 commit d877d5c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

syntax/haskell.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ syn region haskellBlockComment start="{-" end="-}"
9797
\ haskellTodo,
9898
\ @Spell
9999
syn region haskellPragma start="{-#" end="#-}"
100+
syn region haskellLiquid start="{-@" end="@-}"
100101
syn match haskellPreProc "^#.*$"
101102
syn keyword haskellTodo TODO FIXME contained
102103
" Treat a shebang line at the start of the file as a comment
@@ -145,6 +146,7 @@ highlight def link haskellShebang Comment
145146
highlight def link haskellLineComment Comment
146147
highlight def link haskellBlockComment Comment
147148
highlight def link haskellPragma SpecialComment
149+
highlight def link haskellLiquid SpecialComment
148150
highlight def link haskellString String
149151
highlight def link haskellChar String
150152
highlight def link haskellBacktick Operator

0 commit comments

Comments
 (0)