haskell-mode icon indicating copy to clipboard operation
haskell-mode copied to clipboard

haskell-mode assumes extensions (PatternSynonyms, Arrows) are enabled when they are not

Open poscat0x04 opened this issue 5 years ago • 2 comments

It seems that haskell-mode assumes that PatternSynonym and Arrows are enabled by default and highlights proc and pattern as keyword when it should not.

poscat0x04 avatar Feb 28 '20 14:02 poscat0x04

I don't think haskell-mode knows what extensions you have enabled, so this isn't an easy one to tackle. What's the concrete downside of this behaviour?

purcell avatar Feb 28 '20 23:02 purcell

It's a minor inconvenience. Maybe make the default extensions configurable and parse the pragma?

poscat0x04 avatar Feb 29 '20 04:02 poscat0x04