add hocon

This commit is contained in:
antosha417 2022-01-15 16:35:55 +02:00 committed by Stephan Seitz
parent f3e554ed7b
commit 317f5c7471
3 changed files with 47 additions and 0 deletions

View file

@ -802,6 +802,15 @@ list.hjson = {
maintainers = { "@winston0410" },
}
list.hocon = {
install_info = {
url = "https://github.com/antosha417/tree-sitter-hocon",
files = { "src/parser.c" },
generate_requires_npm = true,
},
maintainers = { "@antosha417" },
}
list.llvm = {
install_info = {
url = "https://github.com/benwilliamgraham/tree-sitter-llvm",

View 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)

View file

@ -0,0 +1 @@
(comment) @comment