Robert Hicks a écrit :
I know you recently did the shbang thing but what if I have a property file (lets say it is an ini type file) but it doesn't have an extension of .ini? I know jEdit lets you do something like # :style=ini: and it will take that hint to color the file.
That's for this case that I implemented, a long long time ago, the language menu: to allow arbitrary selection of a lexer on the current buffer. It was made mostly for your case: extension-less file names. Or for another frequent case, like the myriad of XML files with proprietary extensions. Of course, doing this on each file opening can be a chore (that's why I implemented also some shortcuts for text, HTML, XML and makefiles), but that's better than nothing.
I don't know if shbang matching is flexible or hard-coded. -- Philippe Lhoste -- (near) Paris -- France -- http://Phi.Lho.free.fr -- -- -- -- -- -- -- -- -- -- -- -- -- -- _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
