This commit is contained in:
2025-06-17 22:33:09 +08:00
parent 956b146cb2
commit 0bde25e91d
28 changed files with 858 additions and 40 deletions

17
lua/util/lsp.lua Normal file
View 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