From df769f9366613268544f11bbe7c73dc0f869ba2f Mon Sep 17 00:00:00 2001 From: Carter Li Date: Tue, 19 Nov 2024 11:08:00 +0800 Subject: [PATCH] feat(JSON): support `.jsonc` extension (#1022) JSONC is JSON with comments. The JSON lexer already supports comments. --- lexers/embedded/json.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lexers/embedded/json.xml b/lexers/embedded/json.xml index 3473cfd..a34abfa 100644 --- a/lexers/embedded/json.xml +++ b/lexers/embedded/json.xml @@ -3,6 +3,7 @@ JSON json *.json + *.jsonc *.avsc application/json true @@ -108,4 +109,4 @@ - \ No newline at end of file +