summaryrefslogblamecommitdiffstats
path: root/after/syntax/haskell.vim
blob: ac1752981cce503ac2bde6a49ef9fc703a3dd98c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
                                                                              
 












                                                                                                                
 
     
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dhall') == -1

" store and remove current syntax value
let old_syntax = b:current_syntax
unlet b:current_syntax

syn include @dhall syntax/dhall.vim
unlet b:current_syntax

syn region dhallBlock matchgroup=quasiQuote start=/\[\$\?staticDhallExpression|/       end=/|\]/ contains=@dhall

hi def link quasiQuote Underlined

" restore current syntax value
let b:current_syntax = old_syntax

endif