mirror of
https://github.com/golang/go
synced 2024-11-21 14:34:41 -07:00
misc/emacs: make _ a word symbol
Fixes #655. R=rsc, aclements CC=golang-dev https://golang.org/cl/1981041
This commit is contained in:
parent
ec72f9bf18
commit
87229f54c3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user