You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
609 B
Lua

local ok, refactoring = pcall(require, 'refactoring')
if not ok then
vim.notify("missing module refactoring", vim.log.levels.WARN)
return
end
local M = {}
local config = {
-- prompt for return type
prompt_func_return_type = {
go = true,
cpp = true,
c = true,
java = true,
},
-- prompt for function parameters
prompt_func_param_type = {
go = true,
cpp = true,
c = true,
java = true,
},
}
M.setup = function()
refactoring.setup(config)
-- require("telescope").load_extension("refactoring")
end
return M