1
0
mirror of https://github.com/golang/go synced 2024-11-21 20:54:45 -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;
BBLMIsCaseSensitive = YES;
BBLMKeywordList = (
bool,
break,
byte,
cap,
case,
chan,
const,
@ -15,21 +18,43 @@
defer,
else,
fallthrough,
false,
float,
float32,
float64,
for,
func,
go,
goto,
if,
iota,
import,
interface,
int,
int16,
int32,
int64,
int8,
interface,
len,
make,
map,
new,
nil,
package,
range,
return,
select,
string,
struct,
switch,
true,
type,
uint,
uint16,
uint32,
uint64,
uint8,
uintptr,
var,
);
BBLMLanguageCode = go;