Remove useless (?) tbl_map

This commit is contained in:
smolck
2020-08-31 07:18:52 -05:00
committed by TJ DeVries
parent 450574df47
commit 0af8a911b4

View File

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