all repos

init.lua @ 17331edf3c79fedeee8a855a8a5a75a4e8e6db27

my nvim config
1 files changed, 2 insertions(+), 2 deletions(-)
feat(utils): update type annotations for map, and expr
Author: Smirnov Oleksandr ss2316544@gmail.com
Committed at: 2022-08-02 14:27:01 +0300
Parent: 73ee09d
M lua/core/utils.lua

@@ -1,14 +1,14 @@

return { ---@param mode string ---@param from string - ---@param to 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 from string - ---@param to string + ---@param to string|function expr = function(mode, from, to) vim.keymap.set(mode, from, to, { noremap = true, expr = true }) end,