Recently did an overhaul of vis detection of filetypes module to use scintillua's own detect_extensions table and I think scintillua itself could use some of the functionality like
- removal of suffixes/extensions (vim tends to add ~ and others add .bak)
- filenames -- Unsure about this, especially since some things are expected to be in a specific directory
- hashbang/env
- case insensitive extension