nvim: fix deprecation
This commit is contained in:
parent
e49495f390
commit
9ae9ab984d
|
@ -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" } },
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue