Monday, September 10, 2012

Re: VIM Syntax Highlighting - new vim does it wrong?

On Mon, 10 Sep 2012, ChLange wrote:

> Hi there,
>
> I am using VIM 7.3 on my new development PC. On the old one, I used
> VIM 7.0. But something has changed in syntax highlighting (see
> https://www.dropbox.com/s/hd3skcnidhbb89b/vim_colors.png). Till now, I
> only recognized this when programming in HTML/Mason. The new VIM puts
> a red background to the beginning of every line which begins with an
> "if" statement. This is pretty confusing. The old one didn't do this.
> Using Kompare, I verified that the syntax definition file is the same
> on VIM 7.3 and VIM 7.0, so this must be caused by something else. Does
> someone have a hint?

The problem wasn't with the Mason syntax file. It's with the Perl
syntax file.

Fix is at: https://github.com/benizi/vim-perl/commit/0ea3bdbea0f591ef78b132c72e29448673360e07
Pull request is at: https://github.com/petdance/vim-perl/pull/80


> Another question: My Cursor is hidden when moving (for example,
> holding down on of the arrow keys). It's visible again when the
> movement stops. But again, this seems only to be a with HTML/Mason. In
> pure Perl scripts, this is not a problem.

(No idea on this problem, but didn't want to trim it.)

--
Best,
Ben

--
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: