Parcourir la 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 il y a 4 ans
Parent
commit
17c339c047
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 = " ",