From 6271c600808dd99b1c8db8bf1c2b7b2b4762d113 Mon Sep 17 00:00:00 2001 From: Martin Chaine Date: Mon, 7 Nov 2016 11:10:38 +0100 Subject: [PATCH] add missing builtins + clean duplicate `interface` --- rc/base/go.kak | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rc/base/go.kak b/rc/base/go.kak index bb0955ea..655f4bdc 100644 --- a/rc/base/go.kak +++ b/rc/base/go.kak @@ -29,7 +29,8 @@ addhl -group /go/code regex %{-?([0-9]*\.(?!0[xX]))?\b([0-9]+|0[xX][0-9a-fA-F]+) %sh{ # Grammar keywords="break|default|defer|else|fallthrough|for|func|go|goto|if|import" - keywords="${keywords}|interface|make|new|package|range|return|select|case|switch|type|continue" + keywords="${keywords}|make|new|package|range|return|select|case|switch|type|continue" + keywords="${keywords}|append|cap|close|complex|copy|delete|imag|len|panic|print|println|real|recover" attributes="const|var" types="bool|byte|chan|complex128|complex64|float32|float64|int|int16|int32" types="${types}|int64|int8|interface|intptr|map|rune|string|struct|uint|uint16|uint32|uint64|uint8"