Monday, July 30, 2012

Re: vim: who/where/when set my ft?

On 7/30/2012 5:45 PM, Tim Chase wrote:
> On 07/30/12 16:38, ping wrote:
>> guys:
>> I just run into an annoying issue.
>> I open a text file and found it was set to some filetype (say, asciidoc).
>> this is not what I expected.
>> how to find out which config lines in which config file/script set this?
>
> I'd check the output of
>
> :verbose set filetype?
>
> which should tell you where it was last set.
>
> -tim
>
>
I think I tried this but it doesn't work (nothing, no error either):
verbose setfiletype?

but this works as you suggested:
verbose set filetype?


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: