1
0
mirror of https://github.com/golang/go synced 2024-11-26 21:11:57 -07:00
go/misc
Rui Ueyama 5f5e280e14 misc/emacs: do not highlight built-in function if not followed by '('
Name of built-in function is not reserved word in Go, and you can
use it as variable name. "new" is often used as local variable, for
instance.

This patch is to apply font-lock-builtin-face only when built-in
function name is followed by '(', so that it doesn't highlight
non-function variable that happen to have the same name as built-in
function.

LGTM=dominik.honnef
R=golang-codereviews, dominik.honnef, adonovan
CC=golang-codereviews
https://golang.org/cl/79260043
2014-03-27 17:35:07 -04:00
..
arm
bash misc/bash, misc/zsh: fix completion rules 2014-03-27 00:29:55 -04:00
bbedit
cgo cmd/cgo: enforce typing of 0-sized types 2014-03-27 20:23:16 +00:00
chrome/gophertool
dashboard/codereview
emacs misc/emacs: do not highlight built-in function if not followed by '(' 2014-03-27 17:35:07 -04:00
fraise
git
goplay
IntelliJIDEA
kate
linkcheck misc/linkcheck: better redirect handling, use meaningful exit code 2013-10-25 17:31:02 +03:00
makerelease misc/makerelease: use windows installer resources from local goroot 2014-03-03 12:50:29 +11:00
nacl misc/nacl: add Native Client support scripts and documentation 2014-03-24 12:34:09 +11:00
notepadplus misc/notepadplus: Fix Function List in Notepad++ 6.5 2013-12-18 10:17:38 -08:00
swig cmd/go: add any .c/.cc files to the SWIG shared library 2013-10-09 10:35:46 -07:00
vim misc/vim: Disable automatic line wrapping by textwidth. 2014-03-26 13:51:16 +11:00
xcode misc/xcode: use xcode-select to determine path 2013-08-20 20:48:29 +10:00
zsh misc/bash, misc/zsh: fix completion rules 2014-03-27 00:29:55 -04:00
pprof runtime: more precise mprof sampling 2014-02-12 22:36:45 +04:00