1
0
Fork 0

nvim: fix deprecation

This commit is contained in:
Luca Bilke 2024-07-13 16:07:53 +02:00
parent b0c97b94a4
commit 597a76cdb8
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
1 changed files with 1 additions and 7 deletions

View File

@ -23,13 +23,6 @@ return {
"zk-org/zk-nvim",
ft = { "markdown" },
main = "zk",
dependencies = {
{
"folke/which-key.nvim",
optional = true,
opts = { defaults = { ["<leader>z"] = { name = "+zk" } } },
},
},
opts = {
picker = "telescope",
lsp = {
@ -50,6 +43,7 @@ return {
},
--stylua: ignore
keys = {
{ "<leader>z", desc = "+zk" },
{ "<leader>zn", function() require("zk.commands").get("ZkNew")({ title = vim.fn.input('Title: ') }) end, desc = "New Note", mode = { "n", "v" } },
{ "<leader>znt", function() require("zk.commands").get("ZkNewFromTitleSelection")() end, desc = "Title from selection", mode = { "v" } },
{