v1.0.0
This commit is contained in:
17
lua/util/lsp.lua
Normal file
17
lua/util/lsp.lua
Normal file
@ -0,0 +1,17 @@
|
||||
local M = {}
|
||||
|
||||
function M.setup_keys()
|
||||
vim.api.nvim_create_autocmd("LspAttach", {
|
||||
callback = function()
|
||||
local map = vim.keymap.set
|
||||
|
||||
map("n", "K", vim.lsp.buf.hover, { desc = "hover" })
|
||||
end
|
||||
})
|
||||
end
|
||||
|
||||
function M.setup()
|
||||
M.setup_keys()
|
||||
end
|
||||
|
||||
return M
|
Reference in New Issue
Block a user