tv nix.vim: admit Haskell comments
This commit is contained in:
parent
37ee40759f
commit
bd64bc1eb0
|
@ -111,6 +111,10 @@ let
|
|||
syn match String /"\([^\\"]\|\\.\)*"/
|
||||
syn match Comment /\(^\|\s\)#.*/
|
||||
|
||||
" Haskell comments
|
||||
syn region Comment start=/\(^\|\s\){-#/ end=/#-}/
|
||||
syn match Comment /\(^\|\s\)--.*/
|
||||
|
||||
let b:current_syntax = "nix"
|
||||
''}
|
||||
|
||||
|
|
Loading…
Reference in a new issue