From 9ae9ab984d0675c361b555b8ea6ca37f6842de29 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Sat, 13 Jul 2024 16:07:53 +0200 Subject: [PATCH] nvim: fix deprecation --- .config/nvim/lua/plugins/editor.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.config/nvim/lua/plugins/editor.lua b/.config/nvim/lua/plugins/editor.lua index 217fa9c42..d124c0e20 100644 --- a/.config/nvim/lua/plugins/editor.lua +++ b/.config/nvim/lua/plugins/editor.lua @@ -23,13 +23,6 @@ return { "zk-org/zk-nvim", ft = { "markdown" }, main = "zk", - dependencies = { - { - "folke/which-key.nvim", - optional = true, - opts = { defaults = { ["z"] = { name = "+zk" } } }, - }, - }, opts = { picker = "telescope", lsp = { @@ -50,6 +43,7 @@ return { }, --stylua: ignore keys = { + { "z", desc = "+zk" }, { "zn", function() require("zk.commands").get("ZkNew")({ title = vim.fn.input('Title: ') }) end, desc = "New Note", mode = { "n", "v" } }, { "znt", function() require("zk.commands").get("ZkNewFromTitleSelection")() end, desc = "Title from selection", mode = { "v" } }, {