Sublime Forum

Syntax missing from menu and "Set Syntax" command

#1

I am trying to get syntax highlighting working for Cisco ASA/IOS.

I’ve added the following repository (forked from tunnelsup):
https://github.com/rbellamy/sublime-cisco-syntax.git

The syntax is not listed in View -> Syntax nor is it available via the command in Ctrl-Shift-P. However, files with the defined extensions are highlighted correctly, so I know the syntax definition is being loaded.

I need help troubleshooting this. I cannot find any mention in the forums, web or documentation on how I would determine where the menu/command list generation is breaking down. I’m assuming that’s where the problem is since I’m getting the syntax highlighting as expected if the file extension matches, which seems to me to mean that the syntax definition is getting loaded properly, but the list(s) aren’t being updated.

Any help is greatly appreciated.


0 Likes

#2

For what it’s worth, I just tested this same process on a Win7 x64 machine, and it worked as expected.

Please, any pointers on how I can troubleshoot this on my Arch box?

0 Likes

#3

You need to use .tmLanguage as the file extension, rather than .tmlanguage

0 Likes

#4

@jps - thank you very much. That was it exactly!

0 Likes