Commit fc57c4b7 authored by Quan Yong Zhai's avatar Quan Yong Zhai Committed by Robert Griesemer

misc/emacs: update list of builtins.

R=golang-dev, gri
CC=golang-dev
https://golang.org/cl/4630065
parent a39ead7e
...@@ -69,8 +69,8 @@ ...@@ -69,8 +69,8 @@
some syntax analysis.") some syntax analysis.")
(defvar go-mode-font-lock-keywords (defvar go-mode-font-lock-keywords
(let ((builtins '("cap" "close" "closed" "len" "make" "new" (let ((builtins '("append" "cap" "close" "complex" "copy" "imag" "len"
"panic" "panicln" "print" "println")) "make" "new" "panic" "print" "println" "real" "recover"))
(constants '("nil" "true" "false" "iota")) (constants '("nil" "true" "false" "iota"))
(type-name "\\s *\\(?:[*(]\\s *\\)*\\(?:\\w+\\s *\\.\\s *\\)?\\(\\w+\\)") (type-name "\\s *\\(?:[*(]\\s *\\)*\\(?:\\w+\\s *\\.\\s *\\)?\\(\\w+\\)")
) )
......
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