Skip to content

Commit b6eba26

Browse files
committed
Improve foldtext in location list
1 parent d1782e4 commit b6eba26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/obsidian/location_list.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ LocationList.foldtext = function()
195195

196196
local line = vim.api.nvim_buf_get_lines(0, foldstart - 1, foldstart, true)[1]
197197

198-
local match, _ = line:gsub("^ (.+)", " %1 " .. ("(%s link%s)"):format(num_links, num_links > 1 and "s" or ""))
198+
local match, _ = line:gsub("^ (.+)", " %1 " .. ("(%s match%s)"):format(num_links, num_links > 1 and "s" or ""))
199199
return match
200200
end
201201

0 commit comments

Comments
 (0)