G.raud wrote:
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 start myfunc () { : } # seen as the end of the param expansion myfunc () { : # this function's name is highlighted } EOF $ vim -u NONE -c ':syntax on' test.sh Regards
Hello! Please try the attached syntax file. Thank you for your report! Regards, Chip Campbell -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
sh.vim
Description: application/octetstream
