mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 09:20:04 -04:00
feat!: drop modules, general refactor and cleanup
This commit is contained in:
parent
310f0925ec
commit
692b051b09
1247 changed files with 6096 additions and 9074 deletions
1
runtime/queries/eds/folds.scm
Normal file
1
runtime/queries/eds/folds.scm
Normal file
|
|
@ -0,0 +1 @@
|
|||
(section) @fold
|
||||
45
runtime/queries/eds/highlights.scm
Normal file
45
runtime/queries/eds/highlights.scm
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
"=" @punctuation.delimiter
|
||||
|
||||
[
|
||||
"["
|
||||
"]"
|
||||
] @punctuation.bracket
|
||||
|
||||
((section_name) @variable.builtin
|
||||
(#match? @variable.builtin
|
||||
"\\c^(FileInfo|DeviceInfo|DummyUsage|MandatoryObjects|OptionalObjects)$"))
|
||||
|
||||
((section_name) @variable.builtin
|
||||
(#lua-match? @variable.builtin "^1"))
|
||||
|
||||
(section
|
||||
(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
|
||||
(section_name) @_name
|
||||
(statement
|
||||
(key) @_key) @type
|
||||
(#match? @_key "\\c^(ObjectType|DataType|AccessType)$")
|
||||
(#not-match? @_name "\\c^Comments$"))
|
||||
|
||||
(section
|
||||
(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$"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue