From 51534e61fbcf6e8c1408e835710a688dd91ac92d Mon Sep 17 00:00:00 2001 From: Shenwei Wang Date: Wed, 30 Oct 2024 18:14:28 +0800 Subject: [PATCH] Fix yaml keywords of NULL --- src/basic-languages/yaml/yaml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic-languages/yaml/yaml.ts b/src/basic-languages/yaml/yaml.ts index 5d187d14a8..0397cbcde1 100644 --- a/src/basic-languages/yaml/yaml.ts +++ b/src/basic-languages/yaml/yaml.ts @@ -44,7 +44,7 @@ export const language = { { 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]+)/, numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,