Sunday, February 26, 2012

Basic syntax highlighting fail

Hi,

I'm using Vim 7.2.445 on Debian, with no .vimrc or .gvimrc.

I write a file to the /tmp path, called x.c
call("look
call_something();

I load up that file in gvim
vim /tmp/x.c

Turn on syntax
:syntax on

Split the buffer
:sp

And put a quote at the end of the first line, so it looks like call("look"
A"

The top buffer is correctly coloured, the bottom buffer is not.

Why?  How can I fix it?
It is a source of a lot of syntax colour problems for me.

thanks,
Paul

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