Tuesday, July 3, 2012

file type detection : "complete" order

guys/experts:
sorry If I'm asking an idiot question...
I'm learning about auto detection of file type and apply my own syntax
highlight+folding based on it.
so overall we have following machnism:

1) ex: set ft=
2) modeline: vim:ft= ..
3) $VIMRUNTIME/filetype.vim
4) ~/.vim/ftdetect/xxx_filetype.vim
5) ....

what's the complete logic/detect order in place here?

help ftdetect does give me a lot of good info, but I'm not sure in what
sequence vim applies them?

thanks

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: