Skip to content

Commit

Permalink
feat: add indexIgnoredPaths setting
Browse files Browse the repository at this point in the history
  • Loading branch information
claytonrcarter committed Jan 20, 2024
1 parent 50f8914 commit 4575137
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/fuzzy-finder/lib/path-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module.exports = {
const ignoreVcsIgnores = atom.config.get('core.excludeVcsIgnoredPaths')
const projectPaths = atom.project.getPaths().map((path) => fs.realpathSync(path))
const useRipGrep = atom.config.get('fuzzy-finder.useRipGrep')
const indexIgnoredPaths = atom.config.get('fuzzy-finder.indexIgnoredPaths')

const task = Task.once(
taskPath,
Expand All @@ -20,6 +21,7 @@ module.exports = {
ignoreVcsIgnores,
ignoredNames,
useRipGrep,
indexIgnoredPaths
},
() => callback(results)
)
Expand Down
5 changes: 5 additions & 0 deletions packages/fuzzy-finder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@
"default": true,
"description": "Use the substantially faster `ripgrep` crawler."
},
"indexIgnoredPaths": {
"type": "boolean",
"default": false,
"description": "Index VCS ignored paths so that they can be searched when the typed query begins with `!`. (Has no effect if not using the `ripgrep` crawler.)"
},
"prefillFromSelection": {
"type": "boolean",
"default": false,
Expand Down

0 comments on commit 4575137

Please sign in to comment.