tags:

views:

1554

answers:

3

Is there a suitable Emacs lisp mode for Go? C mode doesn't work without semicolons. The best I have found is the JavaScript mode by Karl Landstrom, since JavaScript also doesn't require semicolons.

+23  A: 

Try misc/emacs/go-mode.el in the Go distribution.

Kinopiko
Just to clarify, it's in the Go distribution, not the Emacs distribution. For me it was in ~/go/misc/emacs.
gregsabo
+4  A: 

yes its in the source code in the misc/emacs dir

Mike
+2  A: 

http://golang.org/misc/emacs/

Directions included in go-mode-load.el

Tunzi