We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53d315d commit 242d716Copy full SHA for 242d716
lua/plugins/ui.lua
@@ -37,9 +37,18 @@ return {
37
end
38
end)
39
40
+
41
+ local telescope_config = require 'telescope.config'
42
+ -- Clone the default Telescope configuration
43
+ local vimgrep_arguments = { unpack(telescope_config.values.vimgrep_arguments) }
44
+ -- I don't want to search in the `docs` directory (rendered quarto output).
45
+ table.insert(vimgrep_arguments, '--glob')
46
+ table.insert(vimgrep_arguments, '!docs/*')
47
48
telescope.setup {
49
defaults = {
50
buffer_previewer_maker = new_maker,
51
+ vimgrep_arguments = vimgrep_arguments,
52
file_ignore_patterns = {
53
'node_modules',
54
'%_files/*.html',
0 commit comments