title: Adding a user-defined language in Notepad++
body: <p>I'm trying to add the syntax plugin for the Go programming language in Notepad++.</p>
  
  <p>There is <a href="http://docs.notepad-plus-plus.org/index.php/User_Defined_Language_Files#How_to_install_user_defined_language_files" rel="nofollow noreferrer">a repository</a> for such <em>user-defined</em> languages. I downloaded and unzipped the Go files, which contained a README, a <em>userDefinedLang_Go.xml</em>, and <em>go.xml</em>.</p>
  
  <p>I attempted to follow the instructions at the bottom of the page as follows. Since I am using Windows&nbsp;7 (x64), my Notepad++ directory is "C:\Program Files (x86)\Notepad++".</p>
  
  <p>Having not installed a user defined language before, I didn't have a <em>userDefinedLang.xml</em> file already, so I copied <em>userDefinedLang_Go.xml</em> into the root directory, and renamed it to remove the "_Go", making it <em>userDefinedLang.xml</em>.</p>
  
  <p>I then copied <em>go.xml</em> into C:\Program Files (x86)\Notepad++\plugins\APIs\</p>
  
  <p>This seems to be all of the steps necessary. However, when I open Notepad++, there is no "Go" near "<em>Lang => User Defined</em>", and there is no syntactic coloring on a <em>.go</em> file. Attempting to import via "<em>View => User-Defined Dialogue => import</em>" gives a "fail to import" error.</p>
  
  <p>What am I doing wrong? I'm using a clean installation of Notepad++, which is version 6.1.8.</p>