mirror of https://github.com/mickael-menu/zk-nvim
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
404 B
Lua
14 lines
404 B
Lua
local zk = require("zk")
|
|
|
|
---@param opts? table additional options for zk, telescope options, all optional and in one table
|
|
---@see https://github.com/mickael-menu/zk/blob/main/docs/editors-integration.md#zklist
|
|
local function show_notes(opts)
|
|
zk.edit(opts, { picker = "telescope", telescope = opts })
|
|
end
|
|
|
|
return require("telescope").register_extension({
|
|
exports = {
|
|
notes = show_notes,
|
|
},
|
|
})
|