> After invoking vim with syntax shading on, my strings are a slightly different > colour from my background thanks to these settings in my ~/.gvimrc file <snip> > However, if I then type > :syn on > I lose the differing shade of strings.
This is expected, quoting from ":help syntax": The ":syntax enable" command will keep your current color settings. This allows using ":highlight" commands to set your preferred colors before or after using this command. If you want Vim to overrule your settings with the defaults, use: :syntax on Cheers. -- Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy [EMAIL PROTECTED],debian.org,bononia.it} -%- http://www.bononia.it/zack/ If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. -!-
signature.asc
Description: Digital signature