mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Update Kotlin parser
This commit is contained in:
parent
86da4fed85
commit
2cd1eb6e2a
3 changed files with 12 additions and 14 deletions
|
|
@ -72,7 +72,7 @@
|
|||
"revision": "0ba7a24b062b671263ae08e707e9e94383b25bb7"
|
||||
},
|
||||
"kotlin": {
|
||||
"revision": "bfb1e2776b48139caa3125e2791c27340bfa34c2"
|
||||
"revision": "5f4c8b4a9af6c246b5a181fc73f10cce2e9df700"
|
||||
},
|
||||
"ledger": {
|
||||
"revision": "609d5e5ab5955823b3faeaec8d2afc91860c639a"
|
||||
|
|
|
|||
|
|
@ -148,16 +148,13 @@ list.java = {
|
|||
maintainers = {"@p00f"},
|
||||
}
|
||||
|
||||
---Parser generation from source does not terminate in reasonable time
|
||||
--list.kotlin = {
|
||||
--install_info = {
|
||||
--url = "https://github.com/QthCN/tree-sitter-kotlin",
|
||||
--files = { "src/parser.c" },
|
||||
--requires_generate_from_grammar = true,
|
||||
--generate_requires_npm = true,
|
||||
--},
|
||||
--maintainers = {"@tormodatt"},
|
||||
--}
|
||||
list.kotlin = {
|
||||
install_info = {
|
||||
url = "https://github.com/tormodatt/tree-sitter-kotlin",
|
||||
files = { "src/parser.c" },
|
||||
},
|
||||
maintainers = {"@tormodatt"},
|
||||
}
|
||||
|
||||
list.html = {
|
||||
install_info = {
|
||||
|
|
|
|||
|
|
@ -70,9 +70,10 @@
|
|||
(type_identifier) @type
|
||||
|
||||
;; Annotations
|
||||
(annotation (single_annotation) @attribute)
|
||||
(single_annotation (user_type (type_identifier) @attribute))
|
||||
(single_annotation (constructor_invocation (user_type (type_identifier) @attribute)))
|
||||
;; TODO:
|
||||
;(annotation (single_annotation) @attribute)
|
||||
;(single_annotation (user_type (type_identifier) @attribute))
|
||||
;(single_annotation (constructor_invocation (user_type (type_identifier) @attribute)))
|
||||
|
||||
|
||||
;; it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue