mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 16:15:41 +01:00
Add _ as a supported item for tags and keywords
This commit is contained in:
parent
1b4729c63b
commit
9deb43ba53
1 changed files with 2 additions and 2 deletions
|
|
@ -202,8 +202,8 @@ export const language = <ILanguage>{
|
||||||
[/[,:;]/, 'delimiter'],
|
[/[,:;]/, 'delimiter'],
|
||||||
[/[{}\[\]()]/, '@brackets'],
|
[/[{}\[\]()]/, '@brackets'],
|
||||||
|
|
||||||
[/@[a-zA-Z]\w*/, 'tag'],
|
[/@[a-zA-Z_]\w*/, 'tag'],
|
||||||
[/[a-zA-Z]\w*/, {
|
[/[a-zA-Z_]\w*/, {
|
||||||
cases: {
|
cases: {
|
||||||
'@keywords': 'keyword',
|
'@keywords': 'keyword',
|
||||||
'@default': 'identifier'
|
'@default': 'identifier'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue