Вс 15 июн 2025 16:32:01 MSK

This commit is contained in:
Alexander Neonxp Kiryukhin 2025-06-15 16:32:01 +03:00
parent 97af93b2a8
commit 9968e699d2
Signed by: NeonXP
SSH key fingerprint: SHA256:SVt7TjxbVc87m1QYaQziOJ0N3OCFURv2g76gD/UTTXI
11 changed files with 150 additions and 105 deletions

View file

@ -0,0 +1,26 @@
return {
"zk-org/zk-nvim",
version = "v0.3.0",
config = function()
require("zk").setup({
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
},
},
})
end,
}