Wednesday, January 2, 2013

Re: vim: set ft but don't execute syntax file

Hi ping!

On Mi, 02 Jan 2013, ping wrote:

> experts:
> I have a huge text file, which, when set ft, navigation in the file
> becomes extremely slow.
>
> but, due to some reasons I still want the ft to be set, but without
> executing the corresponding syntax file ( so it will not be slowed
> down).
> is it possible and how?
>
> I tried comment out
> "syntax on"
> "syntax enable",
> "filetype plugin indent on"
>
> and when I set ft (either by :set ft=xxx) or using modeline,
> navigation is still same slow.
>
> disable ft "set ft=" will make it return normal (faster navigation)

:h eventignore

regards,
Christian
--
Friert im Jänner Stein und Bein, könnte es der Winter sein.

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

No comments: