Thursday, June 17, 2010

Re: How to test filetype in _vimrc

On 06/17/2010 02:03 PM, Roy Fulbright wrote:
>
>
> I remember there was a thread about this not too long ago.. I didn't
> read it though so I don't remember the solution. I think it also depends
> on whether you just want to open a single file, edit and close or if you
> want to open a .bat file within single session and have it without
> highlight while other files are with highlight. If you don't need stuff
> like filetype indentation you can also change that autocommand to do
> :set ft=
>
> (i.e. set filetype to nothing). Then there will be no colours but other
> files will still have them.
>
>    -ak
>
> Thanks, setting ft= did it! I appreciate you help very much.                          


No problem! Just to be clear: this is probably not the best or "proper"
way. I'm sure someone will reply with a better one. In case of .bat
files it will work just as well for you though.

   -ak

--
 Python plugins for vim: outliner, todo list, project manager, calendar,
 expenses tracker, sortable table, and more |
 http://lightbird.net/pysuite/


No comments: