mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
chore: query formatting
This commit is contained in:
parent
79975d6557
commit
57a8acf0c4
674 changed files with 18466 additions and 12648 deletions
|
|
@ -1,49 +1,58 @@
|
|||
"=" @punctuation.delimiter
|
||||
|
||||
[ "[" "]" ] @punctuation.bracket
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
((section_name) @variable.builtin
|
||||
(#match? @variable.builtin "\\c^(FileInfo|DeviceInfo|DummyUsage|MandatoryObjects|OptionalObjects)$"))
|
||||
(#match? @variable.builtin "\\c^(FileInfo|DeviceInfo|DummyUsage|MandatoryObjects|OptionalObjects)$"))
|
||||
|
||||
((section_name) @variable.builtin
|
||||
(#lua-match? @variable.builtin "^1"))
|
||||
(#lua-match? @variable.builtin "^1"))
|
||||
|
||||
(section
|
||||
(section_name) @_name
|
||||
(#match? @_name "\\c^Comments$")) @comment
|
||||
(section_name) @_name
|
||||
(#match? @_name "\\c^Comments$")) @comment
|
||||
|
||||
(section
|
||||
(section_name) @_name
|
||||
(statement (key) @_key) @string
|
||||
(#match? @_key "\\c^ParameterName$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
(section_name) @_name
|
||||
(statement
|
||||
(key) @_key) @string
|
||||
(#match? @_key "\\c^ParameterName$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
|
||||
(section
|
||||
(section_name) @_name
|
||||
(statement (key) @_key) @type
|
||||
(#match? @_key "\\c^ObjectType$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
(section_name) @_name
|
||||
(statement
|
||||
(key) @_key) @type
|
||||
(#match? @_key "\\c^ObjectType$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
|
||||
(section
|
||||
(section_name) @_name
|
||||
(statement (key) @_key) @type
|
||||
(#match? @_key "\\c^DataType$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
(section_name) @_name
|
||||
(statement
|
||||
(key) @_key) @type
|
||||
(#match? @_key "\\c^DataType$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
|
||||
(section
|
||||
(section_name) @_name
|
||||
(statement (key) @_key) @type.qualifier
|
||||
(#match? @_key "\\c^AccessType$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
(section_name) @_name
|
||||
(statement
|
||||
(key) @_key) @type.qualifier
|
||||
(#match? @_key "\\c^AccessType$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
|
||||
(section
|
||||
(section_name) @_name
|
||||
(statement (key) @_key) @attribute
|
||||
(#match? @_key "\\c^PDOMapping$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
(section_name) @_name
|
||||
(statement
|
||||
(key) @_key) @attribute
|
||||
(#match? @_key "\\c^PDOMapping$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
|
||||
(section
|
||||
(section_name) @_name
|
||||
(statement (key) @_key) @number
|
||||
(#match? @_key "\\c^(DefaultValue|LowLimit|HighLimit|SubNumber)$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
(section_name) @_name
|
||||
(statement
|
||||
(key) @_key) @number
|
||||
(#match? @_key "\\c^(DefaultValue|LowLimit|HighLimit|SubNumber)$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue