nvim: fix deprecation
This commit is contained in:
parent
e49495f390
commit
9ae9ab984d
|
@ -23,13 +23,6 @@ return {
|
||||||
"zk-org/zk-nvim",
|
"zk-org/zk-nvim",
|
||||||
ft = { "markdown" },
|
ft = { "markdown" },
|
||||||
main = "zk",
|
main = "zk",
|
||||||
dependencies = {
|
|
||||||
{
|
|
||||||
"folke/which-key.nvim",
|
|
||||||
optional = true,
|
|
||||||
opts = { defaults = { ["<leader>z"] = { name = "+zk" } } },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
opts = {
|
opts = {
|
||||||
picker = "telescope",
|
picker = "telescope",
|
||||||
lsp = {
|
lsp = {
|
||||||
|
@ -50,6 +43,7 @@ return {
|
||||||
},
|
},
|
||||||
--stylua: ignore
|
--stylua: ignore
|
||||||
keys = {
|
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>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" } },
|
{ "<leader>znt", function() require("zk.commands").get("ZkNewFromTitleSelection")() end, desc = "Title from selection", mode = { "v" } },
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue