Bug#119190: loss of string highlight

Stefano Zacchiroli Stefano Zacchiroli <zack@debian.org>, 119190@bugs.debian.org
Tue, 15 Mar 2005 12:41:10 +0100


--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> After invoking vim with syntax shading on, my strings are a slightly diff=
erent
> colour from my background thanks to these settings in my ~/.gvimrc file
<snip>
>     However, if I then type=20
>     :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.

--=20
Stefano Zacchiroli -*- Computer Science PhD student @ Uny Bologna, Italy
zack@{cs.unibo.it,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. -!-

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCNsnV1cqbBPLEI7wRAoUoAJ9cgwZ+dM6pJcq41wShBoTCSYWJlgCgyFBG
SsAuMG8ghXDzj+U78es+oSg=
=vylq
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--