Wednesday, September 13, 2006

VIM7 :: file type detection

New in VIM7 is file type detection. To get info whether it is present/activated try that:

:filetype

and that to turn it off:

:filetype off

File types are made to allow bulk customization for particular file type. At moment it doesn't provide any advantages over plain :au - but probably more to come in future.

P.S. :filetype off must be at top of .vimrc - it tries to manage everything so many options changed before would be reset.

P.P.S. Relevant help pages/see also: :help filetype, :help 'filetype' and :help ftplugin.

No comments: