remove bat env theme variable (#489)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user