[TxMt] Syntax color for fortran storage modifier

riki riki80 at rediffmail.com
Sat Aug 9 16:54:08 UTC 2014


Fortran storage modifiers do not appear with colours although they have set to this in the used TextMate theme and language 
grammar.

In my custom theme, I have set
		{	name = 'Storage';
			scope = 'storage, storage.type, storage.modifier';
			settings = {
				fontStyle = 'bold';
				foreground = '#003366';
			};
which is clearly directing syntax colour for storage, storage type, and storage modifier.

In Fortran bundle, the grammar of Modern Fortran contains information of storage modifiers
		{	name = 'storage.modifier.fortran.modern';
			match = '\b(?i:(kind|len|optional|recursive|pointer|allocatable|target|private|public))\b';
		},
    
 Any idea how to get syntax colors for storage modifiers in a Fortran code? I have tried but did not get success.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20140809/0a3c0a1f/attachment.html>


More information about the textmate mailing list