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
>
>
surprisingly...
filetype=asciidoc
Last set from /etc/vim/ftdetect/asciidoc_filetype.vim
what is that /etc/vim/ folder doing here?
runtimepath=~/.vim,/usr/share/vim/vimfiles,/usr/share/vim/vim73,/usr/share/vim/vimfiles/after,~/.vim/after
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
Monday, July 30, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment