From further reading of the comments in syntax.vim, it seems that
/bin/sh is intentionally treated separately from Posix compliant
shell. So this report may be invalid entirely. In particular, I
noticed this when I was about to enable the $() command substitution to
not highlight as an error.
Sure enough, if I just use
let g:is_posix=1 in my .vimrc, it all works as expected for
posix-compliant features. Sorry for the noise; there's really no bug
here.
I guess maybe the fact that debian doesn't ship a non-posix /bin/sh may
cause a desire to set either is_posix or is_bash in the
2 matches
Mail list logo