This commit is contained in:
Alexander Neonxp Kiryukhin 2025-07-20 13:55:45 +03:00
parent 972802e532
commit 9c05c52ebf
Signed by: NeonXP
SSH key fingerprint: SHA256:SVt7TjxbVc87m1QYaQziOJ0N3OCFURv2g76gD/UTTXI
17 changed files with 63 additions and 36 deletions

View file

@ -35,6 +35,9 @@ return {
opts = {
keymap = {
preset = "enter",
["<Tab>"] = false,
["<C-k>"] = { "snippet_forward", "fallback" },
["<C-S-k>"] = { "snippet_backward", "fallback" },
},
completion = {
list = {
@ -61,7 +64,13 @@ return {
signature = { enabled = true },
snippets = { preset = "luasnip" },
sources = {
default = { "lsp", "path", "snippets", "buffer", "codecompanion" },
default = {
"lsp",
"path",
"snippets",
"buffer",
"codecompanion",
},
},
},
}

View file

@ -25,7 +25,7 @@ return {
},
schema = {
model = {
default = "Qwen/Qwen2.5-Coder-14B-Instruct",
default = "Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8",
},
},
})

View file

@ -23,10 +23,9 @@ local function setup_go_configuration(dap, configs)
name = "Debug",
request = "launch",
program = "${workspaceFolder}",
args = {},
buildFlags = configs.delve.build_flags,
outputMode = configs.delve.output_mode,
outputMode = "remote",
},
}
if dap.configurations.go == nil then

View file

@ -6,16 +6,12 @@ return {
picker = "telescope",
lsp = {
-- `config` is passed to `vim.lsp.start(config)`
config = {
name = "zk",
cmd = { "zk", "lsp" },
filetypes = { "markdown" },
-- on_attach = ...
-- etc, see `:h vim.lsp.start()`
},
-- automatically attach buffers in a zk notebook that match the given filetypes
auto_attach = {
enabled = true,
filetypes = { "markdown" }, -- moved to lsp.config above