On 22. Feb 2007, at 19:30, Fritz Anderson wrote:
[...] I added a new bundle and named it CSV. Here is the language spec:
============= { scopeName = 'text.csv'; fileTypes = ( 'csv' ); } =============
[...] Clearly my language spec does not suffice to give the contents of a .csv file text.csv scope. I'm missing something. What is it?
I guess you uncovered a bug -- if the language grammar has no patterns, it is effectively not used. So if you change your grammar to the following, it will work as expected:
{ scopeName = 'text.csv'; fileTypes = ( 'csv' ); patterns = ( ); }