diff options
author | tv <tv@krebsco.de> | 2016-06-09 17:02:23 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-06-10 16:04:55 +0200 |
commit | dcf612c2765225543f832c37149033d9488f6fbe (patch) | |
tree | 3ebc4399b25d14bf3a97e785faf66f84e349d545 /tv/2configs | |
parent | ce79df9b7d43f3e68fac5de195a1d782e7c140aa (diff) |
tv nix.vim: syn clear corrupting sh syntax
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/vim.nix | 4 |
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="[$]{" |