summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-10-09 17:34:26 -0400
committerTJ DeVries <devries.timothyj@gmail.com>2020-10-09 17:34:26 -0400
commit6267ead134032b3746488d804b0e09a740d54ab6 (patch)
treedac7912cd321a10b417c515c7634bf7584f9a2ba /lua
parentfe63e4f1defdc0d5f4d09a7026418c464c2e9f79 (diff)
fix: Use R for less so it's not bad
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 df9d9c0..67ce831 100644
--- a/lua/telescope/previewers.lua
+++ b/lua/telescope/previewers.lua
@@ -32,7 +32,7 @@ local bat_maker = function(filename, lnum, start, finish)
if start then
table.insert(command, {"--pager", string.format("less -S +%s", start)})
else
- table.insert(command, {"--pager", "less -S"})
+ table.insert(command, {"--pager", "less -RS"})
end
else
if start and finish then