Friday, February 1, 2013

Re: VIM loses syntax highlighting when using split command

Hi naaj_ila!

On Fr, 01 Feb 2013, naaj_ila wrote:

> Its working fine
> i added these things in ~/.vim/syntax/filetype.vim

This looks totally wrong.
>
> augroup filetypedetect
> au! BufRead,BufNewFile *.v so ~/.vim/syntax/verilog.vim
> augroup END

I am wondering, why do you need this? Vim should automatically detect
*.v files as verilog files? Does yours not?

Try this: vim -u NONE -N file.v

What does Vim tell you, after entering:

:filetype detect
:set ft?

regards,
Christian
--
Lieber Kaker-Laken, als gar keine Bettwäsche.

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