mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-12-01 03:15:33 +03:00
parent
68fce3e160
commit
93e54fa0c8
@ -76,6 +76,7 @@
|
|||||||
| jinja | ✓ | | | |
|
| jinja | ✓ | | | |
|
||||||
| jsdoc | ✓ | | | |
|
| jsdoc | ✓ | | | |
|
||||||
| json | ✓ | | ✓ | `vscode-json-language-server` |
|
| json | ✓ | | ✓ | `vscode-json-language-server` |
|
||||||
|
| json5 | ✓ | | | |
|
||||||
| jsonnet | ✓ | | | `jsonnet-language-server` |
|
| jsonnet | ✓ | | | `jsonnet-language-server` |
|
||||||
| jsx | ✓ | ✓ | ✓ | `typescript-language-server` |
|
| jsx | ✓ | ✓ | ✓ | `typescript-language-server` |
|
||||||
| julia | ✓ | ✓ | ✓ | `julia` |
|
| julia | ✓ | ✓ | ✓ | `julia` |
|
||||||
|
@ -348,6 +348,22 @@ indent = { tab-width = 2, unit = " " }
|
|||||||
name = "json"
|
name = "json"
|
||||||
source = { git = "https://github.com/tree-sitter/tree-sitter-json", rev = "73076754005a460947cafe8e03a8cf5fa4fa2938" }
|
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]]
|
[[language]]
|
||||||
name = "c"
|
name = "c"
|
||||||
scope = "source.c"
|
scope = "source.c"
|
||||||
|
11
runtime/queries/json5/highlights.scm
Normal file
11
runtime/queries/json5/highlights.scm
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
(string) @string
|
||||||
|
|
||||||
|
(identifier) @constant
|
||||||
|
|
||||||
|
(number) @constant.numeric
|
||||||
|
|
||||||
|
(null) @constant.builtin
|
||||||
|
|
||||||
|
[(true) (false)] @constant.builtin.boolean
|
||||||
|
|
||||||
|
(comment) @comment
|
Loading…
Reference in New Issue
Block a user