mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-24 07:25:37 +00:00
11 lines
535 B
Lua
11 lines
535 B
Lua
|
vim.keymap.set("n", "gd", vim.lsp.buf.definition)
|
||
|
vim.keymap.set("n", "gT", vim.lsp.buf.type_definition)
|
||
|
vim.keymap.set("n", "gi", vim.lsp.buf.implementation)
|
||
|
vim.keymap.set("n", "gh", vim.lsp.buf.hover)
|
||
|
-- vim.keymap.set("n", "gr", telescope.lsp_references)
|
||
|
vim.keymap.set("n", "<Leader>R", vim.lsp.buf.rename)
|
||
|
vim.keymap.set("n", "]e", vim.diagnostic.goto_next)
|
||
|
vim.keymap.set("n", "[e", vim.diagnostic.goto_prev)
|
||
|
vim.keymap.set("n", "<Leader>de", vim.diagnostic.open_float)
|
||
|
vim.keymap.set("n", "<Leader>E", vim.lsp.buf.code_action)
|