haskell-language-server
haskell-language-server copied to clipboard
hls-cabal-plugin: refactor context search to use `readFields`
Replace the more brittle parser with cabal's readFields.
Ready for review :)
Why is the test not running
Hm, I am also confused. Perhaps all my force pushing messed up the CI :)
Will it help with https://github.com/haskell/haskell-language-server/issues/3333
No, this tries to fix some bugs in the cabal file completions that I encountered while dogfooding the plugin. This does not affect the tests at all.
The tests are flaky, for the same reason hlint tests are/were flaky, afaict.