summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-05-25 00:47:22 +0200
committertv <tv@krebsco.de>2016-05-25 00:47:22 +0200
commitd145b416b328beb05c5f7856d131cdc1808689f8 (patch)
tree547fc2faf8812c18af160487a0275527a05cedbf
parent367a434f046e800691216fb9bd49c00bfe3d7fad (diff)
tv nix.vim: admit Vim comments
-rw-r--r--tv/2configs/vim.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index 6eefca3..10e5aab 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -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"
''}