mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Fix yaml keywords of NULL
This commit is contained in:
parent
9adbed19a9
commit
49824c8da8
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
{ token: 'delimiter.square', open: '[', close: ']' }
|
{ token: 'delimiter.square', open: '[', close: ']' }
|
||||||
],
|
],
|
||||||
|
|
||||||
keywords: ['true', 'True', 'TRUE', 'false', 'False', 'FALSE', 'null', 'Null', 'Null', '~'],
|
keywords: ['true', 'True', 'TRUE', 'false', 'False', 'FALSE', 'null', 'Null', 'NULL', '~'],
|
||||||
|
|
||||||
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
numberInteger: /(?:0|[+-]?[0-9]+)/,
|
||||||
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue