From 00d4320545eba17227983eaa8c7578cfc5afc1e4 Mon Sep 17 00:00:00 2001 From: tv Date: Wed, 25 May 2016 00:47:22 +0200 Subject: tv nix.vim: admit Vim comments --- tv/2configs/vim.nix | 3 +++ 1 file changed, 3 insertions(+) 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" ''} -- cgit v1.2.3