From 17c339c047c514e067e0f7e735565a6127a38579 Mon Sep 17 00:00:00 2001 From: Dylan Barker Date: Mon, 5 Apr 2021 17:35:43 +0100 Subject: 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. --- lua/nv-telescope/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') 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 = " ", -- cgit v1.2.3