aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-06-06 16:41:38 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-06-06 16:59:44 +0200
commitfaf63903ffa05a9dadd56258d737a0243393c0f5 (patch)
tree2d3d14ee69fc3010a923ab274918b859494f1b33
parentfeat(desktop): update parser and queries (diff)
downloadnvim-treesitter-faf63903ffa05a9dadd56258d737a0243393c0f5.tar
nvim-treesitter-faf63903ffa05a9dadd56258d737a0243393c0f5.tar.gz
nvim-treesitter-faf63903ffa05a9dadd56258d737a0243393c0f5.tar.bz2
nvim-treesitter-faf63903ffa05a9dadd56258d737a0243393c0f5.tar.lz
nvim-treesitter-faf63903ffa05a9dadd56258d737a0243393c0f5.tar.xz
nvim-treesitter-faf63903ffa05a9dadd56258d737a0243393c0f5.tar.zst
nvim-treesitter-faf63903ffa05a9dadd56258d737a0243393c0f5.zip
fix(ipkg)!: remove parser and queries
grammar repo is 404 (user removed) and no forks exist
-rw-r--r--SUPPORTED_LANGUAGES.md3
-rw-r--r--lua/nvim-treesitter/parsers.lua9
-rw-r--r--runtime/queries/ipkg/folds.scm13
-rw-r--r--runtime/queries/ipkg/highlights.scm56
-rw-r--r--runtime/queries/ipkg/indents.scm33
-rw-r--r--runtime/queries/ipkg/injections.scm5
-rw-r--r--runtime/queries/ipkg/locals.scm24
7 files changed, 1 insertions, 142 deletions
diff --git a/SUPPORTED_LANGUAGES.md b/SUPPORTED_LANGUAGES.md
index 0e6417529..d9c56c4f2 100644
--- a/SUPPORTED_LANGUAGES.md
+++ b/SUPPORTED_LANGUAGES.md
@@ -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
diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua
index 3447c273d..cbe6aac12 100644
--- a/lua/nvim-treesitter/parsers.lua
+++ b/lua/nvim-treesitter/parsers.lua
@@ -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',
diff --git a/runtime/queries/ipkg/folds.scm b/runtime/queries/ipkg/folds.scm
deleted file mode 100644
index 271654f9a..000000000
--- a/runtime/queries/ipkg/folds.scm
+++ /dev/null
@@ -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
diff --git a/runtime/queries/ipkg/highlights.scm b/runtime/queries/ipkg/highlights.scm
deleted file mode 100644
index 13c102018..000000000
--- a/runtime/queries/ipkg/highlights.scm
+++ /dev/null
@@ -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
diff --git a/runtime/queries/ipkg/indents.scm b/runtime/queries/ipkg/indents.scm
deleted file mode 100644
index a596e9ebe..000000000
--- a/runtime/queries/ipkg/indents.scm
+++ /dev/null
@@ -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
diff --git a/runtime/queries/ipkg/injections.scm b/runtime/queries/ipkg/injections.scm
deleted file mode 100644
index 3cd6aac8e..000000000
--- a/runtime/queries/ipkg/injections.scm
+++ /dev/null
@@ -1,5 +0,0 @@
-([
- (line_comment)
- (block_comment)
-] @injection.content
- (#set! injection.language "comment"))
diff --git a/runtime/queries/ipkg/locals.scm b/runtime/queries/ipkg/locals.scm
deleted file mode 100644
index c1970fcdf..000000000
--- a/runtime/queries/ipkg/locals.scm
+++ /dev/null
@@ -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