update nvim
This commit is contained in:
parent
3338d39206
commit
786b0e0970
31 changed files with 2204 additions and 15 deletions
14
lua/phoenix/plugins/refactoring.lua
Normal file
14
lua/phoenix/plugins/refactoring.lua
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
local keymap = require 'phoenix.utils.keymap'
|
||||
|
||||
return {
|
||||
'ThePrimeagen/refactoring.nvim',
|
||||
dependencies = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
},
|
||||
config = function()
|
||||
require('refactoring').setup {}
|
||||
-- prompt for a refactor to apply when the remap is triggered
|
||||
keymap({ 'n', 'x' }, '<leader>rr', require('refactoring').select_refactor)
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue