chore: add type annotations to (almost) all functions

This commit is contained in:
Akmadan23
2023-11-24 12:01:24 +01:00
parent 46e1f776f0
commit fabea3376e
48 changed files with 438 additions and 83 deletions

View File

@@ -6,6 +6,9 @@ local explorer_node = require "nvim-tree.explorer.node"
local M = {}
---@param where string
---@param what string
---@return fun()
function M.fn(where, what)
return function()
local node_cur = lib.get_node_at_cursor()