mirror of
https://github.com/golang/go
synced 2024-11-21 14:54: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:
parent
6a0af8e118
commit
b4bd4d926d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user