The default sh syntax highlighting is based on the Bourne shell, which doesn't understand $(()). If you're going to be writing POSIX sh scripts, then you want to add "let g:is_posix=1" in your ~/.vimrc as is described at ":help ft-sh-syntax".
** Changed in: vim (Ubuntu) Status: New => Invalid -- vim syntax highlighting incorrect for sh script expression evaluation https://bugs.launchpad.net/bugs/420623 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs