Update Kotlin parser

This commit is contained in:
Stephan Seitz 2021-03-11 00:57:54 +01:00 committed by Kiyan
parent 86da4fed85
commit 2cd1eb6e2a
3 changed files with 12 additions and 14 deletions

View file

@ -72,7 +72,7 @@
"revision": "0ba7a24b062b671263ae08e707e9e94383b25bb7" "revision": "0ba7a24b062b671263ae08e707e9e94383b25bb7"
}, },
"kotlin": { "kotlin": {
"revision": "bfb1e2776b48139caa3125e2791c27340bfa34c2" "revision": "5f4c8b4a9af6c246b5a181fc73f10cce2e9df700"
}, },
"ledger": { "ledger": {
"revision": "609d5e5ab5955823b3faeaec8d2afc91860c639a" "revision": "609d5e5ab5955823b3faeaec8d2afc91860c639a"

View file

@ -148,16 +148,13 @@ list.java = {
maintainers = {"@p00f"}, maintainers = {"@p00f"},
} }
---Parser generation from source does not terminate in reasonable time list.kotlin = {
--list.kotlin = { install_info = {
--install_info = { url = "https://github.com/tormodatt/tree-sitter-kotlin",
--url = "https://github.com/QthCN/tree-sitter-kotlin", files = { "src/parser.c" },
--files = { "src/parser.c" }, },
--requires_generate_from_grammar = true, maintainers = {"@tormodatt"},
--generate_requires_npm = true, }
--},
--maintainers = {"@tormodatt"},
--}
list.html = { list.html = {
install_info = { install_info = {

View file

@ -70,9 +70,10 @@
(type_identifier) @type (type_identifier) @type
;; Annotations ;; Annotations
(annotation (single_annotation) @attribute) ;; TODO:
(single_annotation (user_type (type_identifier) @attribute)) ;(annotation (single_annotation) @attribute)
(single_annotation (constructor_invocation (user_type (type_identifier) @attribute))) ;(single_annotation (user_type (type_identifier) @attribute))
;(single_annotation (constructor_invocation (user_type (type_identifier) @attribute)))
;; it ;; it