[bug] sh.vim 134 bash syntax: ${var/#from/to} not recognized anymore

2014-05-31 Fir de Conversatie G.raud
This bug is found in sh.vim Version 134 ASTRO-ONLY but _not_ in Version 132 ASTRO-ONLY (and _not_ in VIM 7.4.273 either): $ cat >test.sh <<"EOF" #!/bin/bash ${var/#from/to} # the hash char # inside the param expansion starts a comment # Note: /#from/to is a string replacement anchored at the sta

[bug] sh.vim 134 syntax: backslash in sq string interpreted ('\' not recognized as a single backslash)

2014-05-05 Fir de Conversatie G.raud
This bug is found in sh.vim Version 134 ASTRO-ONLY but _not_ in Version 132 ASTRO-ONLY (and _not_ in VIM 7.4.273 either). $ cat >test.sh <<"EOF" #!/bin/sh printf "%s" '\' starts a single quoted 'string' EOF $ vim -u NONE -c ':syntax on' test.sh Regards -- -- You received this message from the

[bug] sh.vim hl: brace grouping not supported right after while/for inside if

2014-04-28 Fir de Conversatie G.raud
See the following minimal example. The curly braces do not have the same effect outside of an if block. $ cat >test.sh <<"EOF" #!/bin/sh if true; then # do and the braces have the same unusual color while true; do { true; } done # hl as red for error for f; do { true; } || break d

[bug] sh syntax hl: only 1st \" escaped if dq string to eval with assignement inside constructs

2014-03-02 Fir de Conversatie G.raud
Rather complex case appearing only inside if, for, while constructs but not outside any constructs nor in a case construct. A minimal case to test (a string of "\""\" is problematic too; an assignement of varname= instead of $varname= is not problematic): $ cat >test.sh

Re: [bug] VIM 7.4 sh syntax hl: in string "x#x\$#x" second hash treated as a comment start

2014-03-02 Fir de Conversatie G.raud
On Fri, Feb 28, 2014 at 10:42:32AM -0500, Charles Campbell wrote: > G.raud wrote: > > #!/bin/sh > > ls "#\$#" > > Thank you for the feedback; please try syntax/sh.vim v132, available > from my website: > http://www.drchip.org/astronaut/vim/index.htm

[bug] sh syntax hl: several issues inside "subshell" code

2014-03-01 Fir de Conversatie G.raud
To reproduce: $ cat >test.sh

[bug] VIM 7.4 sh syntax hl: in string "x#x\$#x" second hash treated as a comment start

2014-02-26 Fir de Conversatie G.raud
To reproduce in VIM 7.4: $ cat >test.sh