summaryrefslogtreecommitdiff
path: root/lua/telescope
diff options
context:
space:
mode:
authorChristian Clason <christian.clason@uni-due.de>2020-09-17 00:10:20 +0200
committerGitHub <noreply@github.com>2020-09-16 18:10:20 -0400
commit1ef43e001b75ecd8285abb7bf41d43c323ef0bb7 (patch)
tree7b103faa20f433a860f775bae97326c018897784 /lua/telescope
parent9766a5bec861be7fcaec3bd2574ba52ffdb11179 (diff)
Add sorter to live_grep (#61)
Diffstat (limited to 'lua/telescope')
-rw-r--r--lua/telescope/builtin.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/telescope/builtin.lua b/lua/telescope/builtin.lua
index 606914b..f1f8739 100644
--- a/lua/telescope/builtin.lua
+++ b/lua/telescope/builtin.lua
@@ -125,6 +125,7 @@ builtin.live_grep = function(opts)
prompt = 'Live Grep',
finder = live_grepper,
previewer = previewers.vimgrep.new(opts),
+ sorter = sorters.get_generic_fuzzy_sorter(),
}):find()
end