Thursday, June 17, 2010

RE: How to test filetype in _vimrc

> ... it's probably safer to put any filetype-dependent commands in
> your vimfiles\after\ftplugin directory. In this case, the file name
> would be
>
> dosbatch.vim
>

Thanks for the suggestion. Please note that I had to use "vimfiles\after\syntax" instead of "vimfiles\after\ftplugin" to get it to work. BTW, the reason I want to turn off syntax on batch files is because datetime values (10 consecutive digits) are displayed with random digits colored, which is very distracting.
 
Thanks again,
Roy Fulbright


Hotmail is redefining busy with tools for the New Busy. Get more from your inbox. See how.

No comments: