mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -4,9 +4,11 @@
|
|||
] @variable
|
||||
|
||||
(type) @type
|
||||
|
||||
(type_keyword) @type.builtin
|
||||
|
||||
(type [
|
||||
(type
|
||||
[
|
||||
(local_var)
|
||||
(global_var)
|
||||
] @type)
|
||||
|
|
@ -16,7 +18,8 @@
|
|||
|
||||
(argument) @variable.parameter
|
||||
|
||||
(_ inst_name: _ @keyword.operator)
|
||||
(_
|
||||
inst_name: _ @keyword.operator)
|
||||
|
||||
[
|
||||
"catch"
|
||||
|
|
@ -36,18 +39,24 @@
|
|||
"inbounds"
|
||||
"inrange"
|
||||
] @keyword
|
||||
|
||||
(icmp_cond) @keyword
|
||||
|
||||
(fcmp_cond) @keyword
|
||||
|
||||
(fast_math) @keyword
|
||||
|
||||
(_ callee: _ @function)
|
||||
(function_header name: _ @function)
|
||||
(_
|
||||
callee: _ @function)
|
||||
|
||||
(function_header
|
||||
name: _ @function)
|
||||
|
||||
[
|
||||
"declare"
|
||||
"define"
|
||||
] @keyword.function
|
||||
|
||||
(calling_conv) @keyword.function
|
||||
|
||||
[
|
||||
|
|
@ -86,7 +95,6 @@
|
|||
"vscale"
|
||||
] @keyword
|
||||
|
||||
|
||||
[
|
||||
"no_cfi"
|
||||
(dso_local)
|
||||
|
|
@ -105,18 +113,26 @@
|
|||
|
||||
(attribute_name) @attribute
|
||||
|
||||
(function_header [
|
||||
(function_header
|
||||
[
|
||||
(linkage)
|
||||
(calling_conv)
|
||||
(unnamed_addr)
|
||||
] @keyword.function)
|
||||
|
||||
(number) @number
|
||||
|
||||
(comment) @comment @spell
|
||||
|
||||
(string) @string
|
||||
|
||||
(cstring) @string
|
||||
|
||||
(label) @label
|
||||
(_ inst_name: "ret" @keyword.return)
|
||||
|
||||
(_
|
||||
inst_name: "ret" @keyword.return)
|
||||
|
||||
(float) @number.float
|
||||
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue