mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 13:00:08 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
c13e28f894
commit
2c8f2f2fad
829 changed files with 4905 additions and 8010 deletions
37
runtime/queries/hocon/highlights.scm
Normal file
37
runtime/queries/hocon/highlights.scm
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
(comment) @comment
|
||||
|
||||
(null) @constant.builtin
|
||||
[ (true) (false) ] @boolean
|
||||
(number) @number
|
||||
(unit) @keyword
|
||||
(string) @string
|
||||
(multiline_string) @string
|
||||
(string (escape_sequence) @string.escape)
|
||||
(unquoted_string) @string
|
||||
|
||||
[ "url"
|
||||
"file"
|
||||
"classpath"
|
||||
"required"
|
||||
] @keyword
|
||||
|
||||
(include "include" @include)
|
||||
|
||||
(substitution ["${" "${?" "}"] @punctuation.special)
|
||||
(substitution (_) @field)
|
||||
|
||||
(path (_) @field)
|
||||
(value [":" "=" "+=" ] @operator)
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[ "," ] @punctuation.delimiter
|
||||
(unquoted_path "." @punctuation.delimiter)
|
||||
|
||||
2
runtime/queries/hocon/injections.scm
Normal file
2
runtime/queries/hocon/injections.scm
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
((comment) @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue