fix(ipkg)!: remove parser and queries

grammar repo is 404 (user removed) and no forks exist
This commit is contained in:
Christian Clason
2025-06-06 16:41:38 +02:00
committed by Christian Clason
parent 27d0bef81e
commit faf63903ff
7 changed files with 1 additions and 142 deletions

View File

@@ -137,10 +137,9 @@ html_tags (queries only)[^html_tags] | unstable | `H IJ ` | | @TravonteD
[hurl](https://github.com/pfeiferj/tree-sitter-hurl) | unstable | `HFIJ ` | | @pfeiferj
[hyprlang](https://github.com/tree-sitter-grammars/tree-sitter-hyprlang) | unstable | `HFIJ ` | | @luckasRanarison
[idl](https://github.com/cathaysia/tree-sitter-idl) | unstable | `H IJ ` | | @cathaysia
[idris](https://github.com/kayhide/tree-sitter-idris) | unstable | `HF JL` | | @srghma
[idris](https://github.com/kayhide/tree-sitter-idris) | unstable | `HF JL` | |
[ini](https://github.com/justinmk/tree-sitter-ini) | unstable | `HF J ` | | @theHamsta
[inko](https://github.com/inko-lang/tree-sitter-inko) | unstable | `HFIJL` | | @yorickpeterse
[ipkg](https://github.com/srghma/tree-sitter-ipkg) | unstable | `HFIJL` | | @srghma
[ispc](https://github.com/tree-sitter-grammars/tree-sitter-ispc) | unstable | `HFIJL` | | @fab4100
[janet_simple](https://github.com/sogaiu/tree-sitter-janet-simple) | unstable | `HF JL` | | @sogaiu
[java](https://github.com/tree-sitter/tree-sitter-java) | unstable | `HFIJL` | | @p00f

View File

@@ -1022,7 +1022,6 @@ return {
revision = 'c56a25cf57c68ff929356db25505c1cc4c7820f6',
url = 'https://github.com/kayhide/tree-sitter-idris',
},
maintainers = { '@srghma' },
tier = 2,
},
ini = {
@@ -1041,14 +1040,6 @@ return {
maintainers = { '@yorickpeterse' },
tier = 2,
},
ipkg = {
install_info = {
revision = '8d3e9782f2d091d0cd39c13bfb3068db0c675960',
url = 'https://github.com/srghma/tree-sitter-ipkg',
},
maintainers = { '@srghma' },
tier = 2,
},
ispc = {
install_info = {
revision = '9b2f9aec2106b94b4e099fe75e73ebd8ae707c04',

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -1,5 +0,0 @@
([
(line_comment)
(block_comment)
] @injection.content
(#set! injection.language "comment"))

View File

@@ -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