master
blob42 7 months ago
parent 85155e5a3b
commit 02bb9b6658

@ -9,7 +9,7 @@ local M = {}
M.setup = function() M.setup = function()
vim.g["codegpt_commands"] = { vim.g["codegpt_commands"] = {
["q4"] = { ["q4"] = {
callback_type = "text_popup", callback_type = "code_popup",
system_message_template = "You are a {{filetype}} software pair assistant AI. Answer my questions. Think step by step out loud.", system_message_template = "You are a {{filetype}} software pair assistant AI. Answer my questions. Think step by step out loud.",
user_message_template = "I have a question about the following {{language}} code: ```{{filetype}} {{text_selection}}``` {{command_args}}" user_message_template = "I have a question about the following {{language}} code: ```{{filetype}} {{text_selection}}``` {{command_args}}"

@ -35,8 +35,8 @@ local opts = {
}, },
{ {
elements = { elements = {
{ id = "repl", size = 0.7 }, { id = "repl", size = 0.4 },
{ id = "watches", size = 0.5 }, { id = "watches", size = 0.6 },
-- "console", -- "console",
}, },
size = 10, -- 25% of total lines size = 10, -- 25% of total lines

@ -21,6 +21,7 @@ local config = {
"nvim-dap", "nvim-dap",
"nvchad_ui", "nvchad_ui",
"base46", "base46",
"go.nvim",
"colorbuddy.nvim", "colorbuddy.nvim",
"navigator.lua" "navigator.lua"
}, },

@ -7,10 +7,10 @@ local function dwm()
group = group, group = group,
pattern = '*/suckless/*/{*.c,*.h}', pattern = '*/suckless/*/{*.c,*.h}',
callback = function() callback = function()
local make_cmd = 'make && doas make install' local make_cmd = 'make && make install'
if vim.env.STREAMING ~= nil then -- if vim.env.STREAMING ~= nil then
make_cmd = 'make && make install' -- make_cmd = 'make && make install'
end -- end
vim.cmd("AsyncRun " .. make_cmd) vim.cmd("AsyncRun " .. make_cmd)
end end

Loading…
Cancel
Save