added nvim surround, refactoring, lsp keys

This commit is contained in:
Luka Jankovic 2025-01-11 00:06:11 +01:00
parent c512ba9d1b
commit 92a411a25b
5 changed files with 75 additions and 5 deletions

View file

@ -0,0 +1,23 @@
return {
"ThePrimeagen/refactoring.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
},
lazy = false,
config = function()
require("refactoring").setup()
end,
keys = {
{
"<leader>xe",
"<cmd>Refactor extract <cr>",
desc = "Refactor Extract"
},
{
"<leader>xv",
"<cmd>Refactor extract_var <cr>",
desc = "Refactor Extract Variable"
},
}
}