muchos updates
parent
f1514bc67a
commit
f0bb3b9021
@ -0,0 +1,18 @@
|
||||
local ok, chatgpt = pcall(require, 'chatgpt')
|
||||
if not ok then
|
||||
vim.notify("missing module chatgpt", vim.log.levels.WARN)
|
||||
return
|
||||
end
|
||||
|
||||
local M = {}
|
||||
|
||||
local config = {
|
||||
loading_text = "loading",
|
||||
}
|
||||
|
||||
M.setup = function()
|
||||
chatgpt.setup({})
|
||||
end
|
||||
|
||||
|
||||
return M
|
@ -0,0 +1,22 @@
|
||||
local ok, grapple = pcall(require, 'grapple')
|
||||
if not ok then
|
||||
vim.notify("missing module grapple", vim.log.levels.WARN)
|
||||
return
|
||||
end
|
||||
|
||||
local M = {}
|
||||
|
||||
local config = {
|
||||
-- Your configuration goes here
|
||||
-- Leave empty to use the default configuration
|
||||
-- Please see the Configuration section below for more information
|
||||
scope = "git",
|
||||
log_level = "warn",
|
||||
}
|
||||
|
||||
M.setup = function()
|
||||
grapple.setup(config)
|
||||
end
|
||||
|
||||
|
||||
return M
|
@ -0,0 +1,34 @@
|
||||
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
|
Loading…
Reference in New Issue