• Rui Ueyama's avatar
    misc/emacs: do not highlight built-in function if not followed by '(' · 5f5e280e
    Rui Ueyama authored
    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
    5f5e280e
Name
Last commit
Last update
..
IntelliJIDEA Loading commit data...
arm Loading commit data...
bash Loading commit data...
bbedit Loading commit data...
cgo Loading commit data...
chrome/gophertool Loading commit data...
dashboard/codereview Loading commit data...
emacs Loading commit data...
fraise Loading commit data...
git Loading commit data...
goplay Loading commit data...
kate Loading commit data...
linkcheck Loading commit data...
makerelease Loading commit data...
nacl Loading commit data...
notepadplus Loading commit data...
swig Loading commit data...
vim Loading commit data...
xcode Loading commit data...
zsh Loading commit data...
pprof Loading commit data...