On 5/10/06, Jerin Joy <[EMAIL PROTECTED]> wrote:
Hi,
I use gvim as my default editor. My source files are in a non standard
language whose syntax is similar to Verilog. When I open files from
command line in independent gvim windows the syntax highlighting uses
the verilog syntax which is what I want. The only thing is when I use
the split command to split an existing gvim window between 2 files,
the new file opened does not have the syntax highlighting or colour.
Does anyone know why its not using the verilog syntax for the second
file? Is there a way to add this file type so that gvim recognizes it?
It works fine for Verilog/C++ source files.
I wanted to use the split command instead of multiple gvim windows to
reduce clutter on my desktop.
If you start vim as follows:
vim -u NONE -U NONE yourfile
:set nocp
:syn on
and then follow with your commands to split the buffer,
do you see same or different behaviour ?
Yakov