haskell-language-server
haskell-language-server copied to clipboard
Reporting semantic tokens for tokens that are not "truly semantic"
Hi ~ I would like to use the semantic tokens provider to replace all of the highlighting in an editor, i.e. I don't want to use any other highlighting providers. Unfortunately, at the moment it seems that the semantic highlighting doesn't know about keywords, string literals, comments etc.
Is there a specific reason why this has been decided against? Is there any significant barrier for adding this onto hls?
cc @soulomoon
Thank you!
Because we are only retrieving identifiers(with Name in ghc) from hieast for simplicity. We do not parse things ground up or use other sources. They look to me more like syntax object? Do you feel like adding them, that's welcoming.