Error with SublimeText2 syntax highlighting

User avatar
Posts: 8792
Joined: Sat 23 Jul 2011 11:10

Error with SublimeText2 syntax highlighting

Postby D-M » Fri 5 May 2017 22:38

The provided files in the new updates don't work correctly, here is a fix :

Create a NDF folder in your package folder
copy both files in

open NDF.sublime-settings

Code: Select all

    "translate_tabs_to_spaces": true,
    "color_scheme" : "Packages/User/Monokai-ndf.tmTheme"

SublimeText looks for the color_scheme but since it wasn't provided, it fail to load the syntax properly, to solve that either :
- make your own Monokai-ndf.tmTheme ;)
- comment out this line with // (and don't forget to remove the comma, it might fuck things up)

Just comment out, Monokai still works fine anyway.

Posts: 11
Joined: Mon 10 Apr 2017 15:26

Re: Error with SublimeText2 syntax highlighting

Postby Sahnvour » Tue 9 May 2017 09:55

Thanks, that will be addressed in a future patch. Sorry about this, I thought I tested it without the color scheme (which whould not be needed, as Sublime Text grammars adapt to any theme iirc) but obviously missed something.

Who is online

Users browsing this forum: Bing [Bot] and 2 guests