all repos

init.lua @ bdeff636a4cd8ef6b2bb5fd76258f2de5e17337e

my nvim config
1 files changed, 2 insertions(+), 2 deletions(-)
fix(utils): update type annotation for map
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2022-09-07 19:08:36 +0300
Parent: d4a6eb7
M lua/core/utils.lua

@@ -1,12 +1,12 @@

return { - ---@param mode string + ---@param mode string|table ---@param from string ---@param to string|function map = function(mode, from, to) vim.keymap.set(mode, from, to, { noremap = true, silent = true }) end, - ---@param mode string + ---@param mode string|table ---@param from string ---@param to string|function expr = function(mode, from, to)