From 234270e8ca1ef0f9199778860a639587f250e995 Mon Sep 17 00:00:00 2001 From: Carter Li Date: Tue, 19 Nov 2024 09:52:18 +0800 Subject: [PATCH] feat(JSON): support `.jsonc` extension 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 3473cfd14..a34abfa49 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 +