fix: Clason is a miracle worker (#172)
Adds the `-R` flag to `less` for the other code path as well, which is called for `grep` and `workspace_symbols`.
This commit is contained in:
@@ -30,7 +30,7 @@ local bat_maker = function(filename, lnum, start, finish)
|
||||
|
||||
if has_less then
|
||||
if start then
|
||||
table.insert(command, {"--pager", string.format("less -S +%s", start)})
|
||||
table.insert(command, {"--pager", string.format("less -RS +%s", start)})
|
||||
else
|
||||
table.insert(command, {"--pager", "less -RS"})
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user