6

I'm trying to add coffeescript syntax highlighting to gedit in Windows, but I can't work out where to put the *.lang file.

I'm following the instructions here, but the path ~/.local/share/gtksourceview-2.0/language-specs doesn't seem to apply to Windows.

Acorn
  • 728
  • 1
  • 5
  • 19

2 Answers2

5

You're going to want to look here:

C:\Program Files\gedit\share\gtksourceview-2.0\language-specs\
evan.bovie
  • 3,342
1

For a local installation you should be able to put the language files in %LOCALAPPDATA%\gtksourceview-2.0\language-specs or %LOCALAPPDATA%\gtksourceview-3.0\language-specs depending on the version of Gedit.

Using Gedit 3.20.1 I found the result with ProcMon (Process Monitor) in Windows by filtering on paths containing language-specs (with ProcMon you can see what files and folders an application tries to open).