expand paths more smartly (#2599)

This commit is contained in:
James Trew
2023-07-21 18:12:29 -04:00
committed by GitHub
parent 597a3cc889
commit f52ea4061d
8 changed files with 30 additions and 24 deletions

View File

@@ -73,7 +73,7 @@ function histories.History:new(opts)
if conf.history.limit then
obj.limit = conf.history.limit
end
obj.path = vim.fn.expand(conf.history.path)
obj.path = utils.smart_path_expand(conf.history.path)
obj.content = {}
obj.index = 1
obj.cycle_wrap = conf.history.cycle_wrap