Add delimiter highlighting to zsh

This commit is contained in:
Kenneth Benzie 2018-06-06 20:07:47 +01:00
parent 0db9d470ee
commit 91eeee13bc

View File

@ -1,3 +1,6 @@
syn keyword zshOption interactivecomments INTERACTIVE_COMMENTS syn region zshParentheses matchgroup=Delimiter start='(' skip='\\)' end=')' transparent fold
syn region zshBlock matchgroup=zshParans start="{" end="}" transparent fold syn region zshParentheses matchgroup=Delimiter start="{" end="}" transparent fold
hi link zshParans Delimiter
" TODO: Correctly highlight associative array assignment, see zshVariableDef.
hi link zshOperator Operator