mirror of
https://github.com/golang/go
synced 2024-11-25 04:07:55 -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;
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user