Skip to content

Commit a87c4f8

Browse files
committed
fix template haskell check
1 parent 4f3b4e2 commit a87c4f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/haskell.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ syn match haskellPreProc "^#.*$"
105105
syn keyword haskellTodo TODO FIXME contained
106106
" Treat a shebang line at the start of the file as a comment
107107
syn match haskellShebang "\%^#!.*$"
108-
if get(g:, 'haskell_disable_TH', 0)
108+
if !get(g:, 'haskell_disable_TH', 0)
109109
syn match haskellQuasiQuoted "." containedin=haskellQuasiQuote contained
110110
syn region haskellQuasiQuote matchgroup=haskellTH start="\[[_a-zA-Z][a-zA-z0-9._']*|" end="|\]"
111111
syn region haskellTHBlock matchgroup=haskellTH start="\[\(d\|t\|p\)\?|" end="|]" contains=TOP

0 commit comments

Comments
 (0)