fixup! refactor(_utils.ts): all public methods are just adapters

This commit is contained in:
Oleksandr Smirnov 2025-03-19 00:07:47 +02:00
parent ff209db23e
commit ac457d0c6d
No known key found for this signature in database
2 changed files with 3 additions and 4 deletions

View file

@ -9,8 +9,7 @@ local queries = {
(method_declaration name: (field_identifier) @_name)]
]],
package = [[
((package_clause
(package_identifier)) @_name)
(package_identifier) @_name
]],
interface = [[
(type_spec
@ -112,7 +111,7 @@ function ts.get_package_under_cursor(bufnr)
end
---@param bufnr integer
function ts.get_interface_inder_cursor(bufnr)
function ts.get_interface_under_cursor(bufnr)
return do_stuff(bufnr, "type_declaration", queries.interface)
end