tv nix.vim: syn clear corrupting sh syntax
This commit is contained in:
parent
ce79df9b7d
commit
dcf612c276
@ -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="[$]{"
|
||||||
|
Loading…
Reference in New Issue
Block a user