Remove useless (?) tbl_map

This commit is contained in:
smolck
2020-08-31 07:18:52 -05:00
committed by TJ DeVries
parent 742a5137a0
commit e0a9a68de0

View File

@@ -235,10 +235,7 @@ end
builtin.oldfiles = function()
local oldfiles_finder = finders.new {
results = vim.tbl_map(
function(x) return (x:gsub('\n', '')) end,
vim.v.oldfiles
)
results = vim.v.oldfiles
}
local file_picker = pickers.new{}