Commit 87229f54 authored by Scott Lawrence's avatar Scott Lawrence Committed by Russ Cox

misc/emacs: make _ a word symbol

Fixes #655.

R=rsc, aclements
CC=golang-dev
https://golang.org/cl/1981041
parent ec72f9bf
......@@ -27,8 +27,8 @@
(defvar go-mode-syntax-table
(let ((st (make-syntax-table)))
;; Symbols
(modify-syntax-entry ?_ "_" st)
;; Add _ to :word: character class
(modify-syntax-entry ?_ "w" st)
;; Operators (punctuation)
(modify-syntax-entry ?+ "." st)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment