dotfiles/dot_config/nvim/lua/plugins/notes.lua
2024-12-24 23:07:16 +01:00

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,
},
},
}