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:
Christian Clason
2020-10-10 20:37:20 +02:00
committed by GitHub
parent 6267ead134
commit 1e02a0a9cd

View File

@@ -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