1
0
mirror of https://github.com/golang/go synced 2024-11-22 02:44:39 -07:00
go/misc/emacs
Peter Kleiweg 2d1fa08967 Emacs go-mode: don't indent the inside of strings.
Two fixes for indentation problems:

1. Properly recognize multi-line strings. These start with `, not ".

2. Don't indent a line if the beginning of the line is the end of a multi-line string. This happened for instance when inserting a closing bracket after a multi-line string.

R=sameer
CC=golang-dev
https://golang.org/cl/6157044
2012-05-29 16:30:06 -04:00
..
go-mode-load.el misc/emacs: bug fix: use UTF-8 when invoking gofmt as a subprocess. 2011-05-13 11:05:03 -04:00
go-mode.el Emacs go-mode: don't indent the inside of strings. 2012-05-29 16:30:06 -04:00