diff options
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/previewers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/previewers.lua b/lua/telescope/previewers.lua index 4616780..5d64d04 100644 --- a/lua/telescope/previewers.lua +++ b/lua/telescope/previewers.lua @@ -154,7 +154,7 @@ local bat_maker = function(filename, lnum, start, finish) end if theme ~= nil then - table.insert(command, { "--theme", string.format("%s", theme) }) + table.insert(command, { "--theme", string.format("%s", vim.fn.shellescape(theme)) }) end return flatten { |
