summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
Diffstat (limited to 'tv')
-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 fd3bd88..d46c330 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="[$]{"