ruby-lsp
ruby-lsp copied to clipboard
100% CPU usage, circular dependency on indexer
https://github.com/Shopify/ruby-lsp/blob/7eb2eb7830636259335dd0c86f89834fbdcba430/lib/ruby_indexer/lib/ruby_indexer/configuration.rb#L230-L239
The variable excluded is iterated and modified at the same time, producing a circular loop.
This can be fixed by renaming the original excluded to something different.