backup
This commit is contained in:
parent
972802e532
commit
9c05c52ebf
17 changed files with 63 additions and 36 deletions
|
@ -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",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ return {
|
|||
},
|
||||
schema = {
|
||||
model = {
|
||||
default = "Qwen/Qwen2.5-Coder-14B-Instruct",
|
||||
default = "Qwen/Qwen2.5-Coder-32B-Instruct-GPTQ-Int8",
|
||||
},
|
||||
},
|
||||
})
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue