We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any value of
g:sh_fold_enabled > 3
removes lines of (z)sh templates: For example, if =template=.sh reads
=template=.sh
#/bin/zsh if ...
then vim .sh will only show the first line.
vim .sh
The text was updated successfully, but these errors were encountered:
Here's the relevant code if g:sh_fold_enabled > 3:
" /usr/share/vim/vim91/syntax/sh.vim (lines 275-277) ShFoldIfDoFor syn region shDo transparent matchgroup=shConditional start="\<do\>" matchgroup=shConditional end="\<done\>" contains=@shLoopList ShFoldIfDoFor syn region shIf transparent matchgroup=shConditional start="\<if\_s" matchgroup=shConditional skip=+-fi\>+ end="\<;\_s*then\>" end="\<fi\>" contains=@shIfList ShFoldIfDoFor syn region shFor matchgroup=shLoop start="\<for\ze\_s\s*\%(((\)\@!" end="\<in\>" end="\<do\>"me=e-2 contains=@shLoopList,shDblParen skipwhite nextgroup=shCurlyIn
Sorry, something went wrong.
No branches or pull requests
Any value of
removes lines of (z)sh templates: For example, if
=template=.sh
readsthen
vim .sh
will only show the first line.The text was updated successfully, but these errors were encountered: