tv nix.vim: admit Vim comments

This commit is contained in:
tv 2016-05-25 00:47:22 +02:00
parent bd64bc1eb0
commit 00d4320545

View file

@ -115,6 +115,9 @@ let
syn region Comment start=/\(^\|\s\){-#/ end=/#-}/
syn match Comment /\(^\|\s\)--.*/
" Vim comments
syn match Comment /\(^\|\s\)"[^"]*$/
let b:current_syntax = "nix"
''}