Replies: 1 comment
-
If this is still an issue, could you post in here your attempt? As an example, this is a custom command within lua (using local cmd = require("zk.commands")
local zk = require("zk")
cmd.add("ZkOrphans", function(options)
options = vim.tbl_extend("force", { orphan = true }, options or {})
zk.edit(options, { title = "Zk Orphans" })
end) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build a few functions to suit my needs, but I am having trouble accessing
zk-nvim
commands.When trying to use
zkNew
in alua
script, it does not return a dictionary as indicated in the linked documentation.I tried all the following:
They all return a
nil
value, and do nothing when thedryRun = true
option is passed.Is it related to #142 ? Does it mean that none of the commands provided by the plugin can be used as described in the linked documentation ? Or am I missing something ?
Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions