Package: vim Version: 2:7.3.547-6 Severity: normal Dear Maintainer,
The .sh syntax file in vim 7.3 tries to find out which shell /bin/sh points at and adapts appropriately. It does not know dash, and so it falls back to some ground state where a lot of POSIX shell syntax is marked with 'Error' highlighting. Reproduce: vim -u NORC -U NORC --cmd 'filetype plugin indent on' -N /etc/init.d/rc :syntax on vim will mark constructs like $(uname) and ${s#/etc/rc$runlevel.d/K} as errors. the sh syntax file should be adapted to know that dash is a posix shell. regards, -- Package-specific info: --- real paths of main Vim binaries --- /usr/bin/vi is /usr/bin/vim.gtk /usr/bin/vim is /usr/bin/vim.gtk /usr/bin/gvim is /usr/bin/vim.gtk -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (900, 'testing'), (800, 'unstable'), (1, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 3.2.0-4-powerpc Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages vim depends on: ii libacl1 2.2.51-8 ii libc6 2.13-37 ii libgpm2 1.20.4-6 ii libselinux1 2.1.9-5 ii libtinfo5 5.9-10 ii vim-common 2:7.3.547-6 ii vim-runtime 2:7.3.547-6 vim recommends no packages. Versions of packages vim suggests: pn ctags <none> ii vim-doc 2:7.3.547-6 pn vim-scripts <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org