explicitly configure ripgrep for telescope

This commit is contained in:
Vladan Popovic 2023-12-18 14:27:58 +01:00
parent ca0b58aeb4
commit 15bc48a6c5

View file

@ -1,5 +1,16 @@
local telescope = require('telescope')
local builtin = require('telescope.builtin')
telescope.setup {
defaults = {
vimgrep_arguments = { 'rg',
'--hidden', '--color=never', '--no-heading',
'--with-filename', '--line-number',
'--column', '--smart-case',
},
},
}
local find_files_workspace = function()
builtin.find_files({
search_dirs = vim.lsp.buf.list_workspace_folders(),