Explorar o código

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 %!s(int64=4) %!d(string=hai) anos
pai
achega
17c339c047
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 = " ",