Wednesday, January 30, 2013

Re: Syntax highlight not happening on :newtab

In my home directory
"verilog.vim" file is there, which defines syntax highlighting whnever we
will open <filename>.v files.
In .vimrc , i added "source ~/verilog.vim" .

Example: file1.v
module test ;
$display("Hello");
endmodule

"module", "display" are keywords and they will be in colour/highlighted .

Whenever a single file(say file1.v) is opened , its working fine (syntax
highlight is working)


whne i opened another file(file2.v) in the file1.v using ":sp file2.v" or
":newtab file2.v"
For file2.v syntax highlight is not enabled/working , file1.v syntax is
still OK.





--
View this message in context: http://vim.1045645.n5.nabble.com/Syntax-highlight-not-happening-on-newtab-filename-tp5713478p5713501.html
Sent from the Vim - General mailing list archive at Nabble.com.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: