From 0af8a911b4b5d3eefa6518a804ddadefefd65e19 Mon Sep 17 00:00:00 2001 From: smolck <46855713+smolck@users.noreply.github.com> Date: Mon, 31 Aug 2020 07:18:52 -0500 Subject: [PATCH] Remove useless (?) tbl_map --- lua/telescope/builtin.lua | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua index c63fda9..cd7e4ab 100644 --- a/lua/telescope/builtin.lua +++ b/lua/telescope/builtin.lua @@ -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{}