1
0
mirror of https://github.com/golang/go synced 2024-11-21 13:34:39 -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:
Quan Yong Zhai 2011-06-24 11:19:48 -07:00 committed by Robert Griesemer
parent a39ead7ed2
commit fc57c4b7a9

View File

@ -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+\\)")
)