diff options
author | DS/Charlie | 2023-10-06 22:29:42 +0000 |
---|---|---|
committer | GitHub | 2023-10-06 22:29:42 +0000 |
commit | 93e54fa0c88dc0c8761242b14b11a5aca79c6faf (patch) | |
tree | 730903caccc6d363208f6dbbf927a3a3cd273021 /languages.toml | |
parent | 68fce3e160c64c488567f0e80f8d57bbbdd9dd82 (diff) |
add support for json5 (#8473)
* add json5 language
* docgen
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 8fafd5d4..6eab0421 100644 --- a/languages.toml +++ b/languages.toml @@ -348,6 +348,22 @@ indent = { tab-width = 2, unit = " " } name = "json" source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076754005a460947cafe8e03a8cf5fa4fa2938" } + +[[language]] +name = "json5" +scope = "source.json5" +injection-regex = "json5" +file-types = ["json5"] +roots = [] +language-servers = [] +comment-token = "//" +indent = { tab-width = 4, unit = " " } +# https://json5.org + +[[grammar]] +name = "json5" +source = { git = "https://github.com/Joakker/tree-sitter-json5", rev = "c23f7a9b1ee7d45f516496b1e0e4be067264fa0d" } + [[language]] name = "c" scope = "source.c" |