mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(ipkg)!: remove parser and queries
grammar repo is 404 (user removed) and no forks exist
This commit is contained in:
parent
27d0bef81e
commit
faf63903ff
7 changed files with 1 additions and 142 deletions
|
|
@ -1,13 +0,0 @@
|
|||
[
|
||||
(source_file)
|
||||
(dependency_list)
|
||||
(module_list)
|
||||
(dependency_declaration)
|
||||
(module_declaration)
|
||||
(module_declaration)
|
||||
(package_declaration)
|
||||
(main_declaration)
|
||||
(executable_declaration)
|
||||
(version_declaration)
|
||||
(langversion_declaration)
|
||||
] @fold
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
; 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
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
; Indentation rules for Idris .ipkg files
|
||||
[
|
||||
(package_declaration)
|
||||
(field_declaration)
|
||||
(main_declaration)
|
||||
(executable_declaration)
|
||||
(version_declaration)
|
||||
(langversion_declaration)
|
||||
] @indent.begin
|
||||
|
||||
(dependency_declaration
|
||||
"=" @indent.begin
|
||||
(dependency_list
|
||||
"," @indent.begin))
|
||||
|
||||
(module_declaration
|
||||
"=" @indent.begin
|
||||
(module_list
|
||||
"," @indent.begin))
|
||||
|
||||
(field_declaration
|
||||
"=" @indent.begin)
|
||||
|
||||
"=" @indent.branch
|
||||
|
||||
(string_value) @indent.begin
|
||||
|
||||
[
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @indent.ignore
|
||||
|
||||
(ERROR) @indent.auto
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
([
|
||||
(line_comment)
|
||||
(block_comment)
|
||||
] @injection.content
|
||||
(#set! injection.language "comment"))
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
; Scopes
|
||||
(source_file) @local.scope
|
||||
|
||||
; Definitions
|
||||
(package_declaration
|
||||
(package_name) @local.definition.import)
|
||||
|
||||
(module_declaration
|
||||
(module_list
|
||||
(module_name) @local.definition.namespace))
|
||||
|
||||
(main_declaration
|
||||
(module_name) @local.definition.import)
|
||||
|
||||
(executable_declaration
|
||||
(package_name) @local.definition.import)
|
||||
|
||||
; References
|
||||
(dependency_declaration
|
||||
(dependency_list
|
||||
(dependency_item
|
||||
(package_name) @local.reference)))
|
||||
|
||||
(module_name) @local.reference
|
||||
Loading…
Add table
Add a link
Reference in a new issue