summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/previewers.lua2
1 files changed, 1 insertions, 1 deletions
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