mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 09:33:49 +01:00
fix ns1 blue colors
This commit is contained in:
parent
3633134a69
commit
b692bb90b9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -354,7 +354,7 @@ export function Root(props: IProps): React.ReactElement {
|
|||||||
.find((l: any) => l.id === "javascript")
|
.find((l: any) => l.id === "javascript")
|
||||||
.loader();
|
.loader();
|
||||||
l.language.tokenizer.root.unshift(["ns", { token: "ns" }]);
|
l.language.tokenizer.root.unshift(["ns", { token: "ns" }]);
|
||||||
for (const symbol of symbols) l.language.tokenizer.root.unshift(["\\." + symbol, { token: "netscriptfunction" }]);
|
for (const symbol of symbols) l.language.tokenizer.root.unshift([symbol, { token: "netscriptfunction" }]);
|
||||||
const otherKeywords = ["let", "const", "var", "function"];
|
const otherKeywords = ["let", "const", "var", "function"];
|
||||||
const otherKeyvars = ["true", "false", "null", "undefined"];
|
const otherKeyvars = ["true", "false", "null", "undefined"];
|
||||||
otherKeywords.forEach((k) => l.language.tokenizer.root.unshift([k, { token: "otherkeywords" }]));
|
otherKeywords.forEach((k) => l.language.tokenizer.root.unshift([k, { token: "otherkeywords" }]));
|
||||||
|
Loading…
Reference in New Issue
Block a user