summaryrefslogtreecommitdiff
path: root/config/nvim/lua/plugins
diff options
context:
space:
mode:
author2025-12-03 14:04:47 +0300
committer2025-12-03 14:04:47 +0300
commit7f94d67cce04305bf374ffc4d608a0584f266bae (patch)
tree52e90e58342951282e5063c59f0597d9f2e75dff /config/nvim/lua/plugins
parentНебольшие апдейты (diff)
downloaddotfiles-7f94d67cce04305bf374ffc4d608a0584f266bae.tar.gz
dotfiles-7f94d67cce04305bf374ffc4d608a0584f266bae.tar.bz2
dotfiles-7f94d67cce04305bf374ffc4d608a0584f266bae.tar.xz
dotfiles-7f94d67cce04305bf374ffc4d608a0584f266bae.zip
03.12.25
Diffstat (limited to '')
-rw-r--r--config/nvim/lua/plugins.lua8
-rw-r--r--config/nvim/lua/plugins/codecompanion.lua18
-rw-r--r--config/nvim/lua/plugins/conform.lua1
-rw-r--r--config/nvim/lua/plugins/dap_go.lua104
-rw-r--r--config/nvim/lua/plugins/dapui.lua1
5 files changed, 16 insertions, 116 deletions
diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua
index b7e89f0..8adc95f 100644
--- a/config/nvim/lua/plugins.lua
+++ b/config/nvim/lua/plugins.lua
@@ -1,11 +1,4 @@
require("lazy").setup({
- {
- "p00f/alabaster.nvim",
- config = function()
- vim.cmd.colorscheme("alabaster")
- vim.o.termguicolors = true
- end,
- },
{ "nvim-lua/plenary.nvim" },
{
"ray-x/guihua.lua",
@@ -26,7 +19,6 @@ require("lazy").setup({
{
"mfussenegger/nvim-dap",
},
-
require("plugins.multicursor"),
require("plugins.apidocs"),
require("plugins.resize"),
diff --git a/config/nvim/lua/plugins/codecompanion.lua b/config/nvim/lua/plugins/codecompanion.lua
index a657d09..d8eec4a 100644
--- a/config/nvim/lua/plugins/codecompanion.lua
+++ b/config/nvim/lua/plugins/codecompanion.lua
@@ -4,10 +4,6 @@ return {
"nvim-lua/plenary.nvim",
"nvim-treesitter/nvim-treesitter",
{
- "MeanderingProgrammer/render-markdown.nvim",
- ft = { "markdown", "codecompanion" },
- },
- {
"ravitemer/mcphub.nvim",
dependencies = {
"nvim-lua/plenary.nvim",
@@ -43,9 +39,12 @@ return {
adapter = "scbt",
tools = {
opts = {
+ auto_submit_errors = true, -- Send any errors to the LLM automatically?
+ auto_submit_success = true, -- Send any successful output to the LLM automatically?
default_tools = {
"full_stack_dev",
"mcp",
+ "filesystem",
},
},
opts = {
@@ -78,6 +77,17 @@ return {
default = "qwen3-235b-it",
choices = {
"qwen3-235b-it",
+ "Qwen3-Coder-30B-A3B-Instruct-FP8",
+ "qwen2-5-coder-1-5b",
+ },
+ num_ctx = {
+ default = 120000,
+ },
+ think = {
+ default = true,
+ },
+ keep_alive = {
+ default = "5m",
},
},
},
diff --git a/config/nvim/lua/plugins/conform.lua b/config/nvim/lua/plugins/conform.lua
index 3bd4e44..59e761b 100644
--- a/config/nvim/lua/plugins/conform.lua
+++ b/config/nvim/lua/plugins/conform.lua
@@ -10,7 +10,6 @@ return {
html = { "prettier" },
json = { "prettier" },
yaml = { "prettier" },
- markdown = { "prettier" },
graphql = { "prettier" },
lua = { "stylua" },
python = { "isort", "black" },
diff --git a/config/nvim/lua/plugins/dap_go.lua b/config/nvim/lua/plugins/dap_go.lua
index 0864da1..91dcac3 100644
--- a/config/nvim/lua/plugins/dap_go.lua
+++ b/config/nvim/lua/plugins/dap_go.lua
@@ -1,107 +1,5 @@
-local default_config = {
- delve = {
- path = "dlv",
- initialize_timeout_sec = 20,
- port = "${port}",
- args = {},
- build_flags = "",
- -- Automatically handle the issue on delve Windows versions < 1.24.0
- -- where delve needs to be run in attched mode or it will fail (actually crashes).
- detached = vim.fn.has("win32") == 0,
- output_mode = "remote",
- cwd = nil,
- },
- tests = {
- verbose = false,
- },
-}
-
-local function setup_go_configuration(dap, configs)
- local common_debug_configs = {
- {
- type = "go",
- name = "Debug",
- request = "launch",
- program = "${workspaceFolder}",
- outputMode = "remote",
- },
-
- }
-
- if dap.configurations.go == nil then
- dap.configurations.go = {}
- end
-
- for _, config in ipairs(common_debug_configs) do
- table.insert(dap.configurations.go, config)
- end
-
- if configs == nil or configs.dap_configurations == nil then
- return
- end
-
- for _, config in ipairs(configs.dap_configurations) do
- if config.type == "go" then
- table.insert(dap.configurations.go, config)
- end
- end
-end
-
return {
- "leoluz/nvim-dap-go",
+ url = "https://gitrepo.ru/NeonXP/nvim-dap-go.git",
dependencies = { "mfussenegger/nvim-dap" },
opts = true,
- config = function()
- local dap, dapui = require("dap"), require("dapui")
-
- dap.adapters.go = {
- type = "server",
- port = "${port}",
- executable = {
- command = "dlv",
- args = { "dap", "-l", "127.0.0.1:${port}" },
- },
- }
-
- setup_go_configuration(dap, default_config)
-
- dap.defaults.fallback.terminal_win_cmd = "enew | set filetype=dap-terminal"
- dap.listeners.before.attach.dapui_config = function()
- dapui.open()
- end
- dap.listeners.before.launch.dapui_config = function()
- dapui.open()
- end
- dap.listeners.before.event_terminated.dapui_config = function()
- dapui.close()
- end
- dap.listeners.before.event_exited.dapui_config = function()
- dapui.close()
- end
-
- vim.api.nvim_set_hl(0, "DapBreakpoint", { ctermbg = 0, fg = "#993939", bg = "#31353f" })
- vim.api.nvim_set_hl(0, "DapLogPoint", { ctermbg = 0, fg = "#61afef", bg = "#31353f" })
- vim.api.nvim_set_hl(0, "DapStopped", { ctermbg = 0, fg = "#98c379", bg = "#31353f" })
-
- vim.fn.sign_define(
- "DapBreakpoint",
- { text = "!", texthl = "DapBreakpoint", linehl = "DapBreakpoint", numhl = "DapBreakpoint" }
- )
- vim.fn.sign_define(
- "DapBreakpointCondition",
- { text = "?", texthl = "DapBreakpoint", linehl = "DapBreakpoint", numhl = "DapBreakpoint" }
- )
- vim.fn.sign_define(
- "DapBreakpointRejected",
- { text = "RJ", texthl = "DapBreakpoint", linehl = "DapBreakpoint", numhl = "DapBreakpoint" }
- )
- vim.fn.sign_define(
- "DapLogPoint",
- { text = "i", texthl = "DapLogPoint", linehl = "DapLogPoint", numhl = "DapLogPoint" }
- )
- vim.fn.sign_define(
- "DapStopped",
- { text = "→", texthl = "DapStopped", linehl = "DapStopped", numhl = "DapStopped" }
- )
- end,
}
diff --git a/config/nvim/lua/plugins/dapui.lua b/config/nvim/lua/plugins/dapui.lua
index 8530fd1..ad2b6b6 100644
--- a/config/nvim/lua/plugins/dapui.lua
+++ b/config/nvim/lua/plugins/dapui.lua
@@ -3,6 +3,7 @@ return {
dependencies = {
"mfussenegger/nvim-dap",
"nvim-neotest/nvim-nio",
+ "nvim-dap-go",
},
opts = {
icons = {