Skip to content

Commit

Permalink
fix: escape characters in make_entry
Browse files Browse the repository at this point in the history
- this applies the same fix in nvim-telescope#2345 to make_entry
  • Loading branch information
AvarianKnight committed Aug 29, 2023
1 parent 32e6792 commit 879ffb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/make_entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ do
function make_entry.gen_from_file(opts)
opts = opts or {}

local cwd = vim.fn.expand(opts.cwd or vim.loop.cwd())
local cwd = vim.fn.expand(vim.fn.escape(opts.cwd or vim.loop.cwd(), "$?*[]"))

local disable_devicons = opts.disable_devicons

Expand Down

0 comments on commit 879ffb8

Please sign in to comment.