diff --git a/lua/telescope/previewers.lua b/lua/telescope/previewers.lua index 67ce831..d69f73f 100644 --- a/lua/telescope/previewers.lua +++ b/lua/telescope/previewers.lua @@ -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