summaryrefslogblamecommitdiffstats
path: root/after/syntax/haskell.vim
blob: 61d828d2ccb01e822aa742d217ef2fbe7af361a8 (plain) (tree)
1
2
3
4
                                            

        
 












                                                                                                                
if !has_key(g:polyglot_is_disabled, 'dhall')
  finish
endif

" 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