From: Benct Philip Jonsson, Wed, May 26, 2010 5:53 am > > How can I get a list of known file types?
:echo glob($VIMRUNTIME . '/ftplugin/*.vim') or :echo glob($VIMRUNTIME . '/syntax/*.vim') (I find the latter a better exhaustive list, the former are often shared by multiple languages.) > Preferably with info which criteria they are recognized by > (file suffix, interpreter directive...) Much tougher, each syntax/filetype is detected in a different way. Often by extension, but sometimes by internal file structure or format. -- Steve Hall [ digitect dancingpaper com ] -- 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
