Sublime Forum

Nastran Syntax Highlighting Colors

#1

Hello,

I am using the NASTRAN-Textmate-Bundle package (https://github.com/bguest/NASTRAN-Textmate-Bundle) with ST3 and am trying to set colors for the custom Nastran scopes.

The package is installed in user/AppData/Roaming/Sublime Text 3/Packages/User/NASTRAN-Textmate-Bundle-master on Windows 10. I have created a very simple Packages/User/Monokai.sublime-color-scheme file with:

{
“rules”:
[
{
“name”: “NASTRAN Case Control”,
“scope”: “keyword.case_control.nastran”,
“foreground”: “var(cyan)”
},
]
}

However, this is not working as the cyan color is not being applied to any of the entities in a sample .DAT Nastran file.

What am I not understanding or doing wrong? Please help.

Thank you.

0 Likes