Re: [vim/vim] sh syntax hightlight breaks on "${VAR/FOO/\\[}" (#759)

2016-04-18 Fir de Conversatie Gary Johnson
On 2016-04-18, Charles Campbell wrote: > Alexander Meshcheryakov wrote: > > "${VAR/FOO/\\[}" > > > > is a bashism to substitute |'FOO'| in |$VAR| with |'\['| > > vim fails to notice trailing double quote and the of a script becomes > > highlighted as doublequoted. Demo script to check

Re: [vim/vim] sh syntax hightlight breaks on "${VAR/FOO/\\[}" (#759)

2016-04-18 Fir de Conversatie Charles Campbell
Alexander Meshcheryakov wrote: > "${VAR/FOO/\\[}" > > is a bashism to substitute |'FOO'| in |$VAR| with |'\['| > vim fails to notice trailing double quote and the of a script becomes > highlighted as doublequoted. Demo script to check highlighting: > > #!/bin/bash > VAR1=FOOBAR >