On 03/18/2015 21:53, John Little wrote:
I wonder what version OS, vim, and syntax script you have.
I had to force the syntax script to highlight for the Bourne shell (by
let is_bash = 1
in my .vimrc to see the lines highlighted incorrectly. Even using the shebang
#!/bin/sh didn't do it; sh.vim notices that /bin/sh resolves to /bin/dash on my
Debian based distro, and sh.vim sets a POSIX flag. Indeed, my distro only has
POSIX shells AFAICT.
OS is FreeBSD, vim-7.4.657, #!/bin/sh is Bourne shell, adding 'let
g:is_sh=1' into ~/.vimrc didn't change anything, file syntax/sh.vim is
there. Not sure if the syntax file is wrong, or there is something else
that is the problem.
Yuri
--
--
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.