Summary: | vim (7.0.17) syntax highlihting fault for loop enders (e.g. fi, done) in shell scripts | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ville Aakko <ville.aakko> |
Component: | Current packages | Assignee: | Vim Maintainers <vim> |
Status: | RESOLVED UPSTREAM | ||
Severity: | minor | ||
Priority: | Normal | ||
Version: | 2006.1 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ville Aakko
2006-10-29 05:28:49 UTC
Well, one easy way around this is to quote the offending line, like so: #!/bin/bash if [ "$1"x -eq "-MyServer"x ] ; then ssh "santa@korvatunturi.fi" fi Of course, that isn't a real fix. However, this is really a bug in the syntax/sh.vim script provided by upstream, so I'm going to close this bug as UPSTREAM. If you could report this bug to the upstream vim maintainers, I'm sure they'll come up with a good fix. Here's their instructions for submitting a bug report (taken from their FAQ): 2.6. Where can I report bugs? First collect the required information using the following command: :source $VIMRUNTIME/bugreport.vim Now send the resulting text from the above command to the bugs@vim.org e-mail address. The Vim Development mailing list (see above) is a good place to discuss general bugs. If the bug you find is with syntax highlighting or some other "added feature" (i.e. not directly programmed into vim), attempt to inform the maintainer of that feature. For more information, read :help bug-reports When a patch is made to fix this, I'll make a new gentoo release of vim. |