Browse Source

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.
Dylan Barker 4 năm trước cách đây
mục cha
commit
17c339c047
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lua/nv-telescope/init.lua

+ 1 - 1
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 = " ",