tv nix.vim: admit Haskell comments

This commit is contained in:
tv 2016-05-25 00:39:17 +02:00
parent 37ee40759f
commit bd64bc1eb0

View file

@ -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"
''}