File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ local pick_by_title = function(trees, opts)
5454
5555 local make_display = function (item ) -- NOTE: item is the table returned by entry_maker
5656 local title
57- if item .title == vim .NIL then
57+ if item .title == vim .NIL or item . title == nil then
5858 do
5959 title = " <untitled>"
6060 end
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ local filter_map = require("forester.util").filter_map
66local M = {}
77
88local function create_title_cache ()
9- local success , trees = pcall (Forester .query_all , vim .g .forester_current_config )
9+ local success , trees = pcall (forester .query_all , vim .g .forester_current_config )
1010 if success then
1111 return filter_map (trees , function (tree )
1212 if tree .title ~= " " then
You can’t perform that action at this time.
0 commit comments