From dcf612c2765225543f832c37149033d9488f6fbe Mon Sep 17 00:00:00 2001 From: tv Date: Thu, 9 Jun 2016 17:02:23 +0200 Subject: [PATCH] tv nix.vim: syn clear corrupting sh syntax --- tv/2configs/vim.nix | 4 ++++ 1 file changed, 4 insertions(+) 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="[$]{"