On 05/26/2010 04:53 AM, Benct Philip Jonsson wrote:
How can I get a list of known file types? Preferably with info which criteria they are recognized by (file suffix, interpreter directive...)
While you got an answer to the first half, the second part takes digging into multiple files. You want to look at the stock filetypes in $VIMRUNTIME/filetype.vim first. If you've added any plugins or scripts, they may have dropped in their own file-type detection. To find them, you'd want to peek in all the files in the "ftdetect" subdirectories of the paths listed in your 'runtimepath' setting (yes, it a bunch of places).
You can read more details in the help at :help :filetype " for details on the global :help new-filetype " for details on custom/local versions Hope this helps, -tim -- 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
