Skip to content

Commit

Permalink
fix(zk-nvim): update to new organization and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed May 27, 2024
1 parent 0be15e1 commit 042f851
Showing 1 changed file with 26 additions and 4 deletions.
30 changes: 26 additions & 4 deletions lua/astrocommunity/note-taking/zk-nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,33 @@
return {
{
"mickael-menu/zk-nvim",
opts = {
picker = "telescope",
"zk-org/zk-nvim",
main = "zk",
event = "User AstroFile",
cmd = {
"ZkIndex",
"ZkNew",
"ZkNewFromTitleSelection",
"ZkNewFromContentSelection",
"ZkCd",
"ZkNotes",
"ZkBacklinks",
"ZkLinks",
"ZkInsertLinkAtSelection",
"ZkInsertLink",
"ZkMatch",
"ZkTags",
},
dependencies = { "AstroNvim/astrolsp", opts = { handlers = { zk = function() end } } },
opts = function()
local lsp_config = require("astrolsp").lsp_opts "zk"
return {
lsp = {
config = lsp_config,
auto_attach = { filetypes = lsp_config.filetypes },
},
}
end,
},

{
"williamboman/mason-lspconfig.nvim",
opts = function(_, opts)
Expand Down

0 comments on commit 042f851

Please sign in to comment.