At the moment we tell lsp-mode that we want completion in comments (https://github.com/emacs-lsp/lsp-haskell/blob/master/lsp-haskell.el#L296). As the comment says, we need this in order to get completions for language pragmas (since they're in a comment), but it's really annoying in other comments. I don't know what to do about this.
@alanz suggests that maybe pragmas should not be considered comments, which is an interesting idea. I think ultimately this would require us to change something in haskell-mode.
At the moment we tell
lsp-mode
that we want completion in comments (https://github.com/emacs-lsp/lsp-haskell/blob/master/lsp-haskell.el#L296). As the comment says, we need this in order to get completions for language pragmas (since they're in a comment), but it's really annoying in other comments. I don't know what to do about this.