dotfiles/nvim/after/plugin/refactoring.lua

6 lines
201 B
Lua

require('refactoring').setup({})
vim.api.nvim_set_keymap("v", "<leader>ri", [[ <Esc><Cmd>lua require('refactoring').refactor('Inline Variable')<CR>]], {noremap = true, silent = true, expr = false})