Fixing lsp
This commit is contained in:
@@ -9,6 +9,11 @@ helpers.edit_cf = function(map, path)
|
||||
end, { desc = 'Edit ' .. path .. ' in a new tab' })
|
||||
end
|
||||
|
||||
helpers.map = function(keys, func, opts, mode)
|
||||
mode = mode or 'n'
|
||||
vim.keymap.set(mode, keys, func, opts)
|
||||
end
|
||||
|
||||
helpers.edit_cf('h', '/lua/helpers.lua')
|
||||
|
||||
return helpers
|
||||
|
||||
Reference in New Issue
Block a user