It's common/popular to include flags on shell shebang lines, meaning
this syntax detection will not pick up /bin/bash -e or similar.
Adjust the regexes for these cases
https://github.com/vim/vim/pull/7411
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
@Moshem123 approved this pull request.
Closed #7411.
Please try out syntax/sh.vim on my website, v197.
Please try out syntax/sh.vim on my website, v197.
@cecamp Sorry, I didn't bother following up on this until now. I'm curious as to the reason for closing this.
This is a file shipped with vim proper, not an external file. While I fully understand a more featureful sh.vim file exists, I can't understand that being a reason to not improve the one shipped with vim.
And v198 (syntax/sh.vim) includes your (Aaron Griffin) patch. Seemed like a good reason to close to me!
—
You are receiving this because you commented.