File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ local uv = vim.uv or vim.loop
1010local notes_cache = {}
1111
1212-- See https://zk-org.github.io/zk/tips/editors-integration.html#zk-list --> Expand section `2`
13- M .zk_api_select = { " title" , " path" } -- TODO: Can be modify now / Should be included in args's opts?
13+ M .zk_api_select = { " title" , " path" , " absPath " } -- TODO: Can be modify now / Should be included in args's opts?
1414
1515M .show_note_picker = function (notes , opts , cb )
1616 notes = vim .tbl_map (function (note )
6464-- https://github.com/folke/snacks.nvim/blob/main/lua/snacks/picker/format.lua
6565--- @param item snacks.picker.Item
6666function snacks_format .zk_filename (item , picker )
67+ print (vim .inspect (item ))
6768 local fullpath = vim .fs .joinpath (item .cwd , item .file )
6869 --- @type snacks.picker.Highlight[]
6970 local ret = {}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ local notes_cache = {}
1414local M = {}
1515
1616-- See https://zk-org.github.io/zk/tips/editors-integration.html#zk-list --> Expand section `2`
17- M .zk_api_select = { " title" , " absPath " , " path " } -- TODO: Can be modify now / Should be included in args's opts?
17+ M .zk_api_select = { " title" , " path " , " absPath " } -- TODO: Can be modify now / Should be included in args's opts?
1818
1919function M .create_note_entry_maker (_ )
2020 return function (note )
You can’t perform that action at this time.
0 commit comments