summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Barker <[email protected]>2021-04-05 17:35:43 +0100
committerGitHub <[email protected]>2021-04-05 12:35:43 -0400
commit17c339c047c514e067e0f7e735565a6127a38579 (patch)
tree8ed753cf299d5a42f0414da954819281e4a64fb9
parent4599dca3f954a37d549ac01e2d7666c1d2478ec9 (diff)
Change vimgrep_arguments to find_command (#238)
This option was marked as TODO in the telescope-nvim readme. This may be a suitable replacement in the meantime.
-rw-r--r--lua/nv-telescope/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nv-telescope/init.lua b/lua/nv-telescope/init.lua
index 0730f791..0255f6cf 100644
--- a/lua/nv-telescope/init.lua
+++ b/lua/nv-telescope/init.lua
@@ -5,7 +5,7 @@ local actions = require('telescope.actions')
require('telescope').load_extension('media_files')
require('telescope').setup {
defaults = {
- vimgrep_arguments = {'rg', '--no-heading', '--with-filename', '--line-number', '--column', '--smart-case'},
+ find_command = {'rg', '--no-heading', '--with-filename', '--line-number', '--column', '--smart-case'},
prompt_position = "top",
prompt_prefix = " ",
selection_caret = " ",