tv nix.vim: admit Vim comments
This commit is contained in:
parent
bd64bc1eb0
commit
00d4320545
|
@ -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"
|
||||
''}
|
||||
|
||||
|
|
Loading…
Reference in a new issue