Procházet zdrojové kódy

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 před 4 roky
rodič
revize
17c339c047
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 = " ",