Wednesday, January 2, 2013

vim: set ft but don't execute syntax file

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)


regards
ping

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