added refractoring plugin

This commit is contained in:
sankalp committed 2024-08-13 21:35:42 +05:45
1 parent d84501dc93
commit ca81c6e4a5
1 file changed
+32
+32
View File
@@ -0,0 +1,32 @@
return {
'ThePrimeagen/refactoring.nvim',
dependencies = {
'nvim-lua/plenary.nvim',
'nvim-treesitter/nvim-treesitter',
},
config = function()
require('refactoring').setup({
prompt_func_return_type = {
go = false,
java = false,
cpp = false,
c = false,
h = false,
hpp = false,
cxx = false,
},
prompt_func_param_type = {
go = false,
java = false,
cpp = false,
c = false,
h = false,
hpp = false,
cxx = false,
},
printf_statements = {},
print_var_statements = {},
})
end,
}