Remove useless (?) tbl_map
This commit is contained in:
@@ -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{}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user