summaryrefslogtreecommitdiffstats
path: root/tv/2configs/vim.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tv/2configs/vim.nix')
-rw-r--r--tv/2configs/vim.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix
index fd3bd8856..d46c3303b 100644
--- a/tv/2configs/vim.nix
+++ b/tv/2configs/vim.nix
@@ -269,6 +269,10 @@ let
vim.start = ''write[^ ]* *\"\(\([^\"]*\.\)\?vimrc\|[^\"]*\.vim\)\"'';
})}
+ " Clear syntax that interferes with NixBlock.
+ " TODO redefine NixBlock so sh syntax don't have to be cleared
+ syn clear shOperator shSetList shVarAssign
+
syn region NixBlock
\ matchgroup=NixEnter
\ start="[$]{"