Skip to content

Commit

Permalink
fix bat viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
Junker committed Jul 10, 2022
1 parent 0bfd189 commit 785d430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ end

local function view_node(node)
if program_exists("bat") then
return exec_paging("bat", node, "--color always", "--paging never", "-A", _if(show_line_numbers, "--style=plain,numbers", "--style=plain"))
return exec_paging("bat", node, "--color always", "--paging never", _if(show_line_numbers, "--style=plain,numbers", "--style=plain"))
end
if program_exists("pygmentize") then
return exec_paging("pygmentize", node, "-g")
Expand Down

0 comments on commit 785d430

Please sign in to comment.