mirror of
https://github.com/golang/go
synced 2024-11-21 18:44:45 -07:00
misc/emacs: update list of builtins.
R=golang-dev, gri CC=golang-dev https://golang.org/cl/4630065
This commit is contained in:
parent
a39ead7ed2
commit
fc57c4b7a9
@ -69,8 +69,8 @@
|
||||
some syntax analysis.")
|
||||
|
||||
(defvar go-mode-font-lock-keywords
|
||||
(let ((builtins '("cap" "close" "closed" "len" "make" "new"
|
||||
"panic" "panicln" "print" "println"))
|
||||
(let ((builtins '("append" "cap" "close" "complex" "copy" "imag" "len"
|
||||
"make" "new" "panic" "print" "println" "real" "recover"))
|
||||
(constants '("nil" "true" "false" "iota"))
|
||||
(type-name "\\s *\\(?:[*(]\\s *\\)*\\(?:\\w+\\s *\\.\\s *\\)?\\(\\w+\\)")
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user