From 49824c8da8602556f44733b6135abdac5506a3d4 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]*)?/,