Thursday, January 31, 2013

Re: Syntax highlight not happening on :newtab

On 2013-01-31, Ben Fritz wrote:

> 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

The "filetype on" command is not needed for "syntax on" to work.

Regards,
Gary

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