summaryrefslogtreecommitdiffstats
path: root/tv/2configs
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
commit00d4320545eba17227983eaa8c7578cfc5afc1e4 (patch)
tree5e5cc9f5eab3307e9f7b28b81e8e870911da0782 /tv/2configs
parentbd64bc1eb05cc95a32165288481d9ff9be4f33c8 (diff)
tv nix.vim: admit Vim comments
Diffstat (limited to 'tv/2configs')
-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 6eefca307..10e5aab52 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"
''}