Thursday, January 31, 2013

Re: Syntax highlight not happening on :newtab

On Thursday, January 31, 2013 3:24:59 AM UTC-6, ali jaan wrote:
> Hi Gary ,
>
> Followed the steps which you had given,
>
> but its not working
>
> Even opening the single file is not having the syntax enabled .
>

Is filetype detection turned on in your .vimrc?

Some systems turn it on by default in a "system .vimrc" but others do not.

Try putting

filetype plugin indent on

or

filetype plugin on

or

filetype indent on

or

filetype on

into your .vimrc, before the "sytnax on" command.

:help :filetype
:help :filetype-overview
:help filetype-detect

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

Post a Comment