1
0
mirror of https://github.com/golang/go synced 2024-11-15 11:50:31 -07:00
go/misc/emacs
Peter Kleiweg c8ba37cf37 [release-branch.go1] Emacs go-mode: don't indent the inside of strings.
««« backport 8888febbe757
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-06-13 16:24:27 -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 [release-branch.go1] Emacs go-mode: don't indent the inside of strings. 2012-06-13 16:24:27 -04:00