aboutsummaryrefslogtreecommitdiffstats
path: root/nvim/lua/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/lua/plugins')
-rw-r--r--nvim/lua/plugins/lsp.lua33
1 files changed, 1 insertions, 32 deletions
diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua
index 7a26f35..69e6765 100644
--- a/nvim/lua/plugins/lsp.lua
+++ b/nvim/lua/plugins/lsp.lua
@@ -41,14 +41,7 @@ local lspconfig = {
desc = "Go to definition"
},
{
- '<leader>r',
- function()
- vim.lsp.buf.rename()
- end,
- mode = 'n',
- desc = "Rename symbol"
- },
- {
+ -- TODO: consider changing binding to grf
'<leader>f',
function()
vim.lsp.buf.format()
@@ -56,30 +49,6 @@ local lspconfig = {
mode = { 'n', 'v' },
desc = "Format code"
},
- {
- '<leader>a',
- function()
- vim.lsp.buf.code_action()
- end,
- mode = { 'n', 's' },
- desc = "Show code actions"
- },
- {
- '<leader>lr',
- function()
- vim.lsp.buf.references()
- end,
- mode = 'n',
- desc = "Add symbol references to qf"
- },
- {
- '<C-h>',
- function()
- vim.lsp.buf.signature_help()
- end,
- mode = 'i',
- desc = "Show signature help"
- }
}
}