This file provides Syntax highlighting support for Google Go Language (golang) in Notepad++
-
Download the zip or with "git clone https://github.com/tlowry/npp-golang.git". Saving the golang.xml page or copy-pasting will probably corrupt the xml file and cause an import error.
-
On the Notepad++ toolbar menu select Language->Define your language
-
A user defined language window should open. Click the import button and navigate to the golang.xml file and open it.
-
You may need to re-open your .go files or restart notepad++ in order to see the highlighting changes.