mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 23:13:02 +01:00
Merge pull request #81 from nrayburn-tech/master
Add _ as a supported character for Python tags/keywords
This commit is contained in:
commit
5624ce9124
1 changed files with 2 additions and 2 deletions
|
|
@ -202,8 +202,8 @@ export const language = <ILanguage>{
|
|||
[/[,:;]/, 'delimiter'],
|
||||
[/[{}\[\]()]/, '@brackets'],
|
||||
|
||||
[/@[a-zA-Z]\w*/, 'tag'],
|
||||
[/[a-zA-Z]\w*/, {
|
||||
[/@[a-zA-Z_]\w*/, 'tag'],
|
||||
[/[a-zA-Z_]\w*/, {
|
||||
cases: {
|
||||
'@keywords': 'keyword',
|
||||
'@default': 'identifier'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue