tv nix.vim: syn clear corrupting sh syntax

This commit is contained in:
tv 2016-06-09 17:02:23 +02:00
parent ce79df9b7d
commit dcf612c276

View File

@ -269,6 +269,10 @@ let
vim.start = ''write[^ ]* *\"\(\([^\"]*\.\)\?vimrc\|[^\"]*\.vim\)\"''; 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 syn region NixBlock
\ matchgroup=NixEnter \ matchgroup=NixEnter
\ start="[$]{" \ start="[$]{"