On 4/24/07, Andrew Falanga <[EMAIL PROTECTED]> wrote:
Hi again,
I've finally found the answer to the indenting problems I was having.
I found that the indenting I was used to is present if I start
"cindent" in my .vimrc file. However, now I've got a problem. When I
have the starting for all files, when I edit TCL scripts, the
indenting behavior is not correct.
How do set up the .vimrc file to key off of the currently detected
file type and disable the cindent option?
Try
au FIleType tcl set nocindent
, that assuming your filetype is spelled 'tcl'.
To check how exactly filetype is spelled:
:e xxx.tcl
:set filetype?
Yakov