Matching for `excluded_patterns` in `.index.yml`
As mentioned in https://github.com/Shopify/ruby-lsp/pull/1827
Let's say we have a file abc.rb that we want to exclude from indexing.
If we try exclude it in index.yml with:
excluded_patterns:
- "abc.rb"
or
excluded_patterns:
- "/abc.rb"
then it will still be indexed. Instead we need to write:
excluded_patterns:
- "**/abc.rb"
which is not so obvious, and is different from other exclusion mechanism such as .gitignore.
This issue is being marked as stale because there was no activity in the last 2 months
@vinistock @st0012 this seems like a bug, right?
(I know we're planning to eliminate the config file, but this would likely also apply to the config settings approach)
Note: Even though we are deprecating .index.yml this may still be an issue for the indexing configuration.
This issue is being marked as stale because there was no activity in the last 2 months