On 27/07/10 09:44, Bram Moolenaar wrote:
[...]
Aha, so the filetypes are found by looking in the syntax directory.
Well, the result is still a list of filetypes, although there can be a
few syntax files that are not a filetype (e.g. 2html.vim). So do we let
the implementation details prevail? Or stick to the intention?
The scripts in syntax/ which are not filetypes constitute a closed list
(IIUC: 2html, syncolor, synload and syntax), they could be excluded from
the list.
OTOH, there might be a few filetypes with an ftplugin and/or an indent
script but no syntax script. Are they worth the trouble of adding them
to the list? (Taking care of duplicates could be done by a "sort and
uniquify" after scanning all syntax etc. subdirs of all 'runtimepath'
directories.)
Best regards,
Tony.
--
It is illegal for a driver to be blindfolded while operating a vehicle.
[real standing law in Alabama, United States of America]
--
You received this message from the "vim_dev" 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