lua stuff

This commit is contained in:
Christian Nieves
2022-10-18 16:45:09 +00:00
parent 450dd13e5b
commit 21837e0336
43 changed files with 503 additions and 239 deletions

11
vim/.vim/lua/utils.lua Normal file
View File

@ -0,0 +1,11 @@
local M = {}
function M.map(mode, lhs, rhs, opts)
local options = { noremap = true }
if opts then
options = vim.tbl_extend("force", options, opts)
end
vim.api.nvim_set_keymap(mode, lhs, rhs, options)
end
return M