golang in windows emacs hightlight howto

windows emacs 语法高亮

1) .find ".emacs" file

打开emacs,然后在Options下随便挑个选项,点Save Options,看到下面的提示 Wrote [path]....".emacs"

2).copy el file

copy %goroot%/misc/emacs/*.el   [path]/.emacs.d/

3).modify .emacs file add

(setq load-path (cons (expand-file-name "~/.emacs.d/") load-path))
        (require 'go-mode-load)

 

posted on 2013-06-19 10:37  @earth  阅读(352)  评论(1编辑  收藏  举报