Thanks a lot Allan Odgaard for your kind response. Please find herewith my custom theme. ===================================== { settings = ( { settings = { foreground = '#000000'; background = '#FFFFFF'; caret = '#000000'; invisibles = '#999999'; selection = '#BAD6FD'; lineHighlight = '#00001A'; }; }, { name = 'String'; scope = 'string'; settings = { foreground = '#006600'; }; }, { name = 'Number'; scope = 'constant.numeric'; settings = { foreground = '#0033CC'; }; }, { name = 'Regular expression'; scope = 'string.regexp'; settings = { foreground = '#FF0080'; }; }, { name = 'Keyword'; scope = 'keyword'; settings = { fontStyle = 'bold'; foreground = '#006699'; }; }, { name = 'Identifier'; scope = 'constant.language'; settings = { fontStyle = 'bold'; foreground = '#9700CC'; }; }, { name = 'Exception'; scope = 'support.class.exception'; settings = { foreground = '#990000'; }; }, { name = 'Function name'; scope = 'entity.name.function'; settings = { fontStyle = 'bold'; foreground = '#990000'; }; }, { name = 'Type name'; scope = 'entity.name.type'; settings = { fontStyle = 'bold underline'; }; }, { name = 'Arguments'; scope = 'variable.parameter'; settings = { fontStyle = 'italic'; }; }, { name = 'Comment'; scope = 'comment'; settings = { fontStyle = 'italic'; foreground = '#009933'; }; }, { name = 'Invalid'; scope = 'invalid'; settings = { foreground = '#FFFFFF'; background = '#E71A11'; }; }, { name = 'Trailing whitespace'; scope = 'invalid.deprecated.trailing-whitespace'; settings = { background = '#E71A1100'; }; }, { name = 'Embedded source'; scope = 'text source, meta.embedded'; settings = { foreground = '#000000'; background = '#FAFAFA'; }; }, { name = 'Tag'; scope = 'meta.tag, declaration.tag'; settings = { foreground = '#0033CC'; }; }, { name = 'Constant'; scope = 'constant, support.constant'; settings = { fontStyle = 'bold'; foreground = '#6600FF'; }; }, { name = 'Support'; scope = 'support'; settings = { fontStyle = 'bold'; foreground = '#3333FF'; }; }, { name = 'Storage'; scope = 'storage, storage.type, storage.modifier'; settings = { fontStyle = 'bold'; foreground = '#003366'; }; }, { name = 'Section name'; scope = 'entity.name.section'; settings = { fontStyle = 'bold underline'; foreground = '#006699'; }; }, { name = 'Frame title'; scope = 'entity.name.function.frame'; settings = { fontStyle = 'bold'; foreground = '#000000'; }; }, { name = 'XML Declaration'; scope = 'meta.tag.preprocessor.xml'; settings = { foreground = '#333333'; }; }, { name = 'Tag Attribute'; scope = 'entity.other.attribute-name'; settings = { fontStyle = 'italic'; foreground = '#3366CC'; }; }, { name = 'Tag Name'; scope = 'entity.name.tag'; settings = { fontStyle = 'bold'; }; }, ); } ===================================== On Fri, 15 Aug 2014 16:12:50 +0530 "Allan Odgaard" wrote >On 9 Aug 2014, at 18:54, riki wrote: > Fortran storage modifiers do not appear with colours although they > have set to this in the used TextMate theme and language > grammar. […] > > Any idea how to get syntax colors for storage modifiers in a Fortran > code? I have tried but did not get success. You can press ⌃⇧P on a storage keyword to see its full scope. First step would be to ensure that the keyword actually has the scope you expect. If it does, then it sounds like the problem can be isolated to your theme, in which case it would be good to have your entire theme, not just a subset, as other rules could affect the scopes. _______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmateGet your own FREE website, FREE domain & FREE mobile app with Company email. Know More >