diff options
| author | smolck <46855713+smolck@users.noreply.github.com> | 2020-08-31 07:18:52 -0500 |
|---|---|---|
| committer | TJ DeVries <devries.timothyj@gmail.com> | 2020-08-31 16:47:28 -0400 |
| commit | 0af8a911b4b5d3eefa6518a804ddadefefd65e19 (patch) | |
| tree | 69d7bd57bc6dae31be8204b294fe7c0317770d56 /lua/telescope | |
| parent | 450574df4783a9f6901e31b31168117c202dd6c0 (diff) | |
Remove useless (?) tbl_map
Diffstat (limited to 'lua/telescope')
| -rw-r--r-- | lua/telescope/builtin.lua | 5 |
1 files changed, 1 insertions, 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{} |
