mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
Revert "feat(ipkg): add parser and queries (#7277)"
This reverts commit f87c8956ae.
This commit is contained in:
parent
42fc28ba91
commit
32b5e254c4
8 changed files with 0 additions and 143 deletions
|
|
@ -307,7 +307,6 @@ We are looking for maintainers to add more parsers and to write query files for
|
|||
- [x] [idris](https://github.com/kayhide/tree-sitter-idris) (maintained by @srghma)
|
||||
- [x] [ini](https://github.com/justinmk/tree-sitter-ini) (experimental, maintained by @theHamsta)
|
||||
- [x] [inko](https://github.com/inko-lang/tree-sitter-inko) (maintained by @yorickpeterse)
|
||||
- [x] [ipkg](https://github.com/srghma/tree-sitter-ipkg) (maintained by @srghma)
|
||||
- [x] [ispc](https://github.com/fab4100/tree-sitter-ispc) (maintained by @fab4100)
|
||||
- [x] [janet_simple](https://github.com/sogaiu/tree-sitter-janet-simple) (maintained by @sogaiu)
|
||||
- [x] [java](https://github.com/tree-sitter/tree-sitter-java) (maintained by @p00f)
|
||||
|
|
|
|||
|
|
@ -374,9 +374,6 @@
|
|||
"inko": {
|
||||
"revision": "f58a87ac4dc6a7955c64c9e4408fbd693e804686"
|
||||
},
|
||||
"ipkg": {
|
||||
"revision": "8d3e9782f2d091d0cd39c13bfb3068db0c675960"
|
||||
},
|
||||
"ispc": {
|
||||
"revision": "9b2f9aec2106b94b4e099fe75e73ebd8ae707c04"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1109,14 +1109,6 @@ list.inko = {
|
|||
maintainers = { "@yorickpeterse" },
|
||||
}
|
||||
|
||||
list.ipkg = {
|
||||
install_info = {
|
||||
url = "https://github.com/srghma/tree-sitter-ipkg",
|
||||
files = { "src/parser.c", "src/scanner.c" },
|
||||
},
|
||||
maintainers = { "@srghma" },
|
||||
}
|
||||
|
||||
list.ispc = {
|
||||
install_info = {
|
||||
url = "https://github.com/fab4100/tree-sitter-ispc",
|
||||
|
|
|
|||
|
|
@ -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