mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -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
56
runtime/queries/ipkg/highlights.scm
Normal file
56
runtime/queries/ipkg/highlights.scm
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
; Keywords
|
||||
"package" @keyword.import
|
||||
|
||||
[
|
||||
"authors"
|
||||
"maintainers"
|
||||
"license"
|
||||
"brief"
|
||||
"readme"
|
||||
"homepage"
|
||||
"sourceloc"
|
||||
"bugtracker"
|
||||
"opts"
|
||||
"sourcedir"
|
||||
"builddir"
|
||||
"outputdir"
|
||||
"prebuild"
|
||||
"postbuild"
|
||||
"preinstall"
|
||||
"postinstall"
|
||||
"preclean"
|
||||
"postclean"
|
||||
"version"
|
||||
"langversion"
|
||||
"modules"
|
||||
"main"
|
||||
"executable"
|
||||
"depends"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"="
|
||||
(version_range_op)
|
||||
] @operator
|
||||
|
||||
"," @punctuation.delimiter
|
||||
|
||||
; Field values
|
||||
(string_value) @string
|
||||
|
||||
(boolean_value) @boolean
|
||||
|
||||
; Version numbers and ranges
|
||||
(version_number) @string.special
|
||||
|
||||
[
|
||||
(dependency_item)
|
||||
(package_name)
|
||||
(module_name)
|
||||
] @module
|
||||
|
||||
; Comments
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @comment @spell
|
||||
Loading…
Add table
Add a link
Reference in a new issue