diff --git a/lua/telescope/previewers/term_previewer.lua b/lua/telescope/previewers/term_previewer.lua index c402b4a..cf4690b 100644 --- a/lua/telescope/previewers/term_previewer.lua +++ b/lua/telescope/previewers/term_previewer.lua @@ -38,7 +38,6 @@ local bat_maker = function(filename, lnum, start, finish) end local command = {"bat"} - local theme = os.getenv("BAT_THEME") if lnum then table.insert(command, { "--highlight-line", lnum}) @@ -56,10 +55,6 @@ local bat_maker = function(filename, lnum, start, finish) end end - if theme ~= nil then - table.insert(command, { "--theme", string.format("%s", vim.fn.shellescape(theme)) }) - end - return flatten { command, bat_options, "--", vim.fn.expand(filename) }