feat(nvim): add refactoring.nvim plugin
This commit is contained in:
parent
41eb8f6c71
commit
cf6647658d
7
roles/neovim/files/after/plugin/refactoring.lua
Normal file
7
roles/neovim/files/after/plugin/refactoring.lua
Normal 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 {}
|
|
@ -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"
|
||||
|
|
|
@ -36,6 +36,8 @@ telescope.setup {
|
|||
}
|
||||
|
||||
telescope.load_extension "fzf"
|
||||
telescope.load_extension "refactoring"
|
||||
|
||||
local map = vim.api.nvim_set_keymap
|
||||
|
||||
local options = {
|
||||
|
|
Loading…
Reference in a new issue