Commit b4bd4d92 authored by Anthony Starks's avatar Anthony Starks Committed by Russ Cox

misc/bbedit: treat predeclared identifiers as "keywords"

R=rsc
CC=golang-dev
https://golang.org/cl/218064
parent 6a0af8e1
...@@ -6,7 +6,10 @@ ...@@ -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 @@ ...@@ -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,
interface, int,
int16,
int32,
int64,
int8,
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment