Thanks for submitting this report. Following a quick e-mail to the syntax file
maintainer, it appears that this is the correct behaviour. You should try
specifying in your .vimrc:
let g:is_posix = 1
You'll find more details about specifying such modes in ":help sh.vim".
Closing as not-a-bug, with thanks to the sh.vim maintainer for his help.
If, however, you still cannot get it to work, feel free to reopen this
bug.
** Changed in: vim (Ubuntu)
Status: Confirmed => Invalid
--
sh syntax highlighting thinks the `bar` in ${FOO:-`bar`} is an error
https://bugs.launchpad.net/bugs/116893
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs