I\'m trying to add the syntax plugin for the Go programming language in Notepad++.
There is a repository for such user-defined languages. I downloaded and unzip
I just got it working on my system after some tinkering. Put this at the top of the userDefinedLang.xml file and the go.xml file:
<?xml version="1.0" encoding="Windows-1252" ?>
That should do the trick (after reopening Notepad++).
go.xml should be in the plugins/APIs folder, and userDefinedLang.xml goes in the root of Notepad++ as you said.
If you don't have any user languages defined before, then after renaming userDefinedLang_Go.xml
to userDefinedLang.xml
, also edit the text of file by adding the tags <NotepadPlus></NotepadPlus>
around the original content.