From 02bb9b6658bec5507166fe0d427cf6cf221e437c Mon Sep 17 00:00:00 2001 From: blob42 Date: Tue, 10 Oct 2023 22:13:56 +0200 Subject: [PATCH] updates --- lua/custom/plugins/configs/code-gpt.lua | 2 +- lua/custom/plugins/configs/dapui.lua | 4 ++-- lua/custom/plugins/configs/neodev.lua | 1 + plugin/spike/autocmd.lua | 8 ++++---- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lua/custom/plugins/configs/code-gpt.lua b/lua/custom/plugins/configs/code-gpt.lua index 1d31285..09c1e01 100644 --- a/lua/custom/plugins/configs/code-gpt.lua +++ b/lua/custom/plugins/configs/code-gpt.lua @@ -9,7 +9,7 @@ local M = {} M.setup = function() vim.g["codegpt_commands"] = { ["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.", user_message_template = "I have a question about the following {{language}} code: ```{{filetype}} {{text_selection}}``` {{command_args}}" diff --git a/lua/custom/plugins/configs/dapui.lua b/lua/custom/plugins/configs/dapui.lua index 7553301..855b2ff 100644 --- a/lua/custom/plugins/configs/dapui.lua +++ b/lua/custom/plugins/configs/dapui.lua @@ -35,8 +35,8 @@ local opts = { }, { elements = { - { id = "repl", size = 0.7 }, - { id = "watches", size = 0.5 }, + { id = "repl", size = 0.4 }, + { id = "watches", size = 0.6 }, -- "console", }, size = 10, -- 25% of total lines diff --git a/lua/custom/plugins/configs/neodev.lua b/lua/custom/plugins/configs/neodev.lua index b3a398c..8b6249f 100644 --- a/lua/custom/plugins/configs/neodev.lua +++ b/lua/custom/plugins/configs/neodev.lua @@ -21,6 +21,7 @@ local config = { "nvim-dap", "nvchad_ui", "base46", + "go.nvim", "colorbuddy.nvim", "navigator.lua" }, diff --git a/plugin/spike/autocmd.lua b/plugin/spike/autocmd.lua index 2417b41..2a09b52 100644 --- a/plugin/spike/autocmd.lua +++ b/plugin/spike/autocmd.lua @@ -7,10 +7,10 @@ local function dwm() group = group, pattern = '*/suckless/*/{*.c,*.h}', callback = function() - local make_cmd = 'make && doas make install' - if vim.env.STREAMING ~= nil then - make_cmd = 'make && make install' - end + local make_cmd = 'make && make install' + -- if vim.env.STREAMING ~= nil then + -- make_cmd = 'make && make install' + -- end vim.cmd("AsyncRun " .. make_cmd) end