Error with SublimeText2 syntax highlighting

User avatar
D-M
Posts: 8629
Joined: Sat 23 Jul 2011 11:10
Contact:

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

{
   "extensions":
   [
      "ndf",
        "gds"
   ],
    "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.
Image

Sahnvour
Specialist
Posts: 11
Joined: Mon 10 Apr 2017 15:26
Contact:

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: Darkmil and 2 guests