1
0
mirror of https://github.com/golang/go synced 2024-11-22 01:14:40 -07:00

misc/bbedit: treat predeclared identifiers as "keywords"

R=rsc
CC=golang-dev
https://golang.org/cl/218064
This commit is contained in:
Anthony Starks 2010-02-23 13:50:46 -08:00 committed by Russ Cox
parent 6a0af8e118
commit b4bd4d926d

View File

@ -6,7 +6,10 @@
BBLMColorsSyntax = YES; BBLMColorsSyntax = YES;
BBLMIsCaseSensitive = YES; BBLMIsCaseSensitive = YES;
BBLMKeywordList = ( BBLMKeywordList = (
bool,
break, break,
byte,
cap,
case, case,
chan, chan,
const, const,
@ -15,21 +18,43 @@
defer, defer,
else, else,
fallthrough, fallthrough,
false,
float,
float32,
float64,
for, for,
func, func,
go, go,
goto, goto,
if, if,
iota,
import, import,
int,
int16,
int32,
int64,
int8,
interface, interface,
len,
make,
map, map,
new,
nil,
package, package,
range, range,
return, return,
select, select,
string,
struct, struct,
switch, switch,
true,
type, type,
uint,
uint16,
uint32,
uint64,
uint8,
uintptr,
var, var,
); );
BBLMLanguageCode = go; BBLMLanguageCode = go;