From 79b24f23be825beabdefcb840cf716b651147133 Mon Sep 17 00:00:00 2001 From: Spenser Black Date: Thu, 17 Aug 2023 10:21:42 -0400 Subject: [PATCH] Support JSON and JSONC For #34 --- gengo/languages.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gengo/languages.yaml b/gengo/languages.yaml index ae50135a..0142082b 100644 --- a/gengo/languages.yaml +++ b/gengo/languages.yaml @@ -91,6 +91,31 @@ HTML: matchers: extensions: - html +JSON: + category: data + color: "#AAAAAA" + matchers: + extensions: + - json + filenames: + - .all-contributorsrc + priority: 75 +JSON with Comments: + category: data + color: "#CCCCCC" + heuristics: + - "(?m)^\\s*/[/\\*]" + matchers: + extensions: + - json + - jsonc + filenames: + - devcontainer.json + - tsconfig.json + patterns: + - .vscode/*.json + - tsconfig.*.json + priority: 25 JavaScript: category: programming color: "#F0DC4E"