Same as https://github.com/haskell/haskell-language-server/issues/3534 but for code lenses. Again, ideally this would come with generic support to make it easy to add to new code lens providers.