Skip to content

Commit

Permalink
Add invalid.token and styling option
Browse files Browse the repository at this point in the history
  • Loading branch information
e9gille committed Jul 6, 2023
1 parent ef613db commit 0e6592b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mon_apl.js
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@
addToken(offset, 'keyword.operator.dyadic');
offset += m[0].length;
} else {
addToken(offset, 'invalid');
addToken(offset, 'invalid.token');
offset += 1;
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/prf_col.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
+ 'tcpe=bg:c8c8c8,bgo:1 trad=fg:8 var=fg:8 zld=fg:008 scmd=fg:00f ucmd=fg:00f vtt=bg:ff0 '
+ 'ca=bg:828282,bgo:1,fg:0f0 cm=bg:0,bgo:1,fg:080 cv=bg:f,bgo:1,fg:0 cvv=bg:0,bgo:1,fg:0ff '
+ 'ma=bg:828282,bgo:1,fg:0ff na=bg:828282,bgo:1,fg:f qor=bg:f00,bgo:1,fg:f dc=bg:#993333,bgo:1 '
+ 'sae=bg:fbb,bgo:.25',
+ 'sae=bg:fbb,bgo:.25 itk=fg:f00,U:1',
}, {
name: 'Francisco Goya',
theme: 'dark',
Expand Down Expand Up @@ -286,6 +286,7 @@
{s:'diamond' ,t:'diam',m:'delimiter.diamond', fg:1, BIU:1}, //⋄
{s:'dyadic operator' ,t:'op2' ,m:'keyword.operator.dyadic', fg:1, BIU:1}, //⍣ ...
{s:'error' ,t:'err' ,m:'invalid', fg:1, BIU:1},
{s:'invalid token' ,t:'itk' ,m:'invalid.token', fg:1, BIU:1},
{s:'function' ,t:'fn' ,m:'keyword.function', fg:1, BIU:1}, //+ ...
{s:'global name' ,t:'glb' ,m:'identifier.global', fg:1, BIU:1},
{s:'idiom' ,t:'idm' ,m:'predefined.idiom', fg:1, BIU:1}, //⊃⌽ ...
Expand Down

0 comments on commit 0e6592b

Please sign in to comment.