mirror of
https://github.com/remko/waforth
synced 2025-01-13 08:01:32 +01:00
thurtle: Highlight CONSTANT, VARIABLE, and VALUE as definitions
This commit is contained in:
parent
3a40d4bd1e
commit
4516fb92e1
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ export default class Editor {
|
|||
}
|
||||
parentEl.appendChild(document.createTextNode(v));
|
||||
|
||||
if (v === ":") {
|
||||
if (v === ":" || v === "CONSTANT" || v === "VARIABLE" || v === "VALUE") {
|
||||
nextIsDefinition = true;
|
||||
} else if (v === "(") {
|
||||
inComment = true;
|
||||
|
|
Loading…
Reference in a new issue