Hi,
Christian Brabandt schrieb am 29.05.2015 um 10:24:
> Nikolai Weibull schrieb am Freitag, den 29. Mai 2015:
>
>> Konstantinos Pachnis <konstanti...@bugeffect.com> had a patch a while
>> back and was offered the position. He never responded, however, so
>> you’re free to take over.
>
> Anybody still has that patch?
did you mean the attached mail?
Regards,
Jürgen
--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--- Begin Message ---
Hi,
ZSH provides a foreach loop construct in the form foreach name ... (
word ... ) list end.
The patches add syntax highlight for the *end* command and indentation
in a foreach loop.
--
Regards,
Konstantinos
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
*** runtime/indent/sh.vim 2014-09-23 10:07:31.000000000 +0300
--- ../vim/runtime/indent/sh.vim 2014-09-23 10:32:13.000000000 +0300
***************
*** 10,16 ****
let b:did_indent = 1
setlocal indentexpr=GetShIndent()
! setlocal indentkeys+=0=then,0=do,0=else,0=elif,0=fi,0=esac,0=done,),0=;;,0=;&
setlocal indentkeys+=0=fin,0=fil,0=fip,0=fir,0=fix
setlocal indentkeys-=:,0#
setlocal nosmartindent
--- 10,16 ----
let b:did_indent = 1
setlocal indentexpr=GetShIndent()
! setlocal
indentkeys+=0=then,0=do,0=else,0=elif,0=fi,0=esac,0=done,0=end,),0=;;,0=;&
setlocal indentkeys+=0=fin,0=fil,0=fip,0=fir,0=fix
setlocal indentkeys-=:,0#
setlocal nosmartindent
***************
*** 54,61 ****
let ind = indent(lnum)
let line = getline(lnum)
! if line =~
'^\s*\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\)\>'
! if line !~ '\<\%(fi\|esac\|done\)\>\s*\%(#.*\)\=$'
let ind += s:indent_value('default')
endif
elseif s:is_case_label(line, pnum)
--- 54,61 ----
let ind = indent(lnum)
let line = getline(lnum)
! if line =~
'^\s*\%(if\|then\|do\|else\|elif\|case\|while\|until\|for\|select\|foreach\)\>'
! if line !~ '\<\%(fi\|esac\|done\|end\)\>\s*\%(#.*\)\=$'
let ind += s:indent_value('default')
endif
elseif s:is_case_label(line, pnum)
***************
*** 76,82 ****
let pine = line
let line = getline(v:lnum)
! if line =~ '^\s*\%(then\|do\|else\|elif\|fi\|done\)\>' || line =~ '^\s*}'
let ind -= s:indent_value('default')
elseif line =~ '^\s*esac\>' && s:is_case_empty(getline(v:lnum - 1))
let ind -= s:indent_value('default')
--- 76,82 ----
let pine = line
let line = getline(v:lnum)
! if line =~ '^\s*\%(then\|do\|else\|elif\|fi\|done\|end\)\>' || line =~
'^\s*}'
let ind -= s:indent_value('default')
elseif line =~ '^\s*esac\>' && s:is_case_empty(getline(v:lnum - 1))
let ind -= s:indent_value('default')
*** runtime/syntax/zsh.vim 2014-09-23 10:07:31.000000000 +0300
--- ../vim/runtime/syntax/zsh.vim 2014-09-23 10:13:23.000000000 +0300
***************
*** 30,36 ****
syn keyword zshPrecommand noglob nocorrect exec command builtin - time
! syn keyword zshDelimiter do done
syn keyword zshConditional if then elif else fi case in esac select
--- 30,36 ----
syn keyword zshPrecommand noglob nocorrect exec command builtin - time
! syn keyword zshDelimiter do done end
syn keyword zshConditional if then elif else fi case in esac select
--- End Message ---