feat(nvim): add refactoring.nvim plugin

This commit is contained in:
Oliver Davies 2022-01-13 00:22:02 +00:00
parent 41eb8f6c71
commit cf6647658d
3 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,7 @@
local status_ok, refactoring = pcall(require, "refactoring")
if not status_ok then
return
end
-- TODO: add keymaps - https://github.com/ThePrimeagen/refactoring.nvim#configuration-for-refactoring-operations
refactoring.setup {}

View file

@ -32,6 +32,7 @@ return packer.startup(function()
use "nvim-lua/plenary.nvim"
use "nvim-lua/popup.nvim"
use "sheerun/vim-polyglot"
use "theprimeagen/refactoring.nvim"
use "tpope/vim-surround"
use "vim-test/vim-test"
use "voldikss/vim-floaterm"

View file

@ -36,6 +36,8 @@ telescope.setup {
}
telescope.load_extension "fzf"
telescope.load_extension "refactoring"
local map = vim.api.nvim_set_keymap
local options = {