28 lines
594 B
Lua
28 lines
594 B
Lua
return {
|
|
{
|
|
{
|
|
"zk-org/zk-nvim",
|
|
config = function()
|
|
require("zk").setup({
|
|
picker = "fzf_lua",
|
|
|
|
lsp = {
|
|
config = {
|
|
cmd = { "zk", "lsp" },
|
|
name = "zk",
|
|
-- on_attach = ...
|
|
-- etc, see `:h vim.lsp.start_client()`
|
|
},
|
|
|
|
-- automatically attach buffers in a zk notebook that match the given filetypes
|
|
auto_attach = {
|
|
enabled = true,
|
|
filetypes = { "markdown" },
|
|
},
|
|
},
|
|
})
|
|
end,
|
|
},
|
|
},
|
|
}
|