-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/01/2012 21:41, Charles Campbell wrote: > Phil Dobbin wrote:
[...] >> 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. >> > Well, I was thinking that perhaps your termtype database was incorrect, > but that should affect :e .bashrc, too. > > So, what's the filetype? > > vim .bashrc > :echo &ft > > Do files other than shell script files appear odd? > > Does > > vim -u NONE .bashrc > :set nocp > :syn on > > have odd highlighting? Running the first instance the filetype returns `sh`. In the second there's no odd highlighting when the commands are run. The odd highlighting also occurs in text files, python & perl scripts. It doesn't happen in helpfiles but I guess that's because Vim's already running. 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/ iQEcBAEBAgAGBQJPIHo0AAoJEKpMeDHWT5ADs3UIAIip6YKhBn3CkO4+Z1gEjWU3 b0cIjQbMZ+l5CDwvdDDlpCiVflRq/09CflY6g0mQVzs1o2vNJMAimikCsOnwOu4o +4YjiEFWSn4EKmqmtJq3M8xymROe9NOocwBsig8s2fE1SxTHlEL25JydUsoL4oz4 4/PSFeZQXTqfHTr6GG2/IHc2JT35iWaKD4fsqPb4Sp4ZBzggwyT/Lnseq+8ISs/V AocIH21qH3aUOrfBviUH3NNIS3MiYXRm2072LtH4rfRlxJcH3pgYS4RwRNX8J5Xp wAPHCBgx5OLqsmzo8j5OKZDeGBUcOo2/z99qT2A7ELYtAeSOV+E8JlJFV4j4s88= =qTGq -----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
