Wednesday, January 25, 2012

Re: Strange highlighting

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25/01/2012 19:13, Phil Dobbin wrote:

> I'm seeing a very odd & annoying highlighting anomaly.
>
> In certain files (& on occasion all files) certain words will be
> highlighted in only orange & grey. These words seem to be totally
> arbitrary. For example, in, say, my .bashrc the words `usr`,
> `dropbox` & `storage1` will suffer. Or some single characters like
> on my PS1 entry just the `d` `u` & `h` but not the `t` or `w`.
>
> This only happens on terminal vim on Linux & doesn't occur in gvim
> on Linux or terminal vim/MacVim on OS X.
>
> I suspect it may have something to do with Gnome Terminal (it
> happens in xterm & terminator too). The problem disappears when vim
> is started -u NONE. My vimrc is identical on all my machines
> (Debian Linux & Mac OS X).


As a follow up to this I've discovered the odd highlighting only
occurs when passing an argument to Vim i.e `vim .bashrc`

If I start Vim & then edit the same file all is OK.

Cheers,

Phil...

- --
This is the most entertaining bug report I have ever read...
and it actually DOES work. Where's the catch?! You must be insane...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPIGVhAAoJEKpMeDHWT5ADtaQH/2ydZSM4PhVlcr4CJBt53VXw
Y8PFhlJNd7n6FqcFdmXhpa2gLjQBDQWYbqIAcrUN79adDNqw49v/lQ+KGTmNquzc
9GySK0AaQDzfGH3t5OK0nydAIx1VuNFn3vcmqH/8dGh5ibQDV3CaTBpAr5VkXLz2
oJm3MO//bleIzzlJkThtNlAR7h6Is6KNc/Y+Z223VAc5ASy3QTrnJTdXgyzIRPQ/
3UWdNWYhBThv+ifyTUB6JnuB2nXbx1DRa8ejBz793Y0ra7kJeg1jHmQiGLOKtqtw
bn2QuYOMJMCWVR70oIyOhGGj4f2JSm4oMil2imlwKYkV7iO8jUGnNgj8dqSq7e0=
=m34g
-----END PGP SIGNATURE-----

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment