purescript-contrib / purescript-vim

Syntax highlighting and indentation for PureScript
BSD 2-Clause "Simplified" License
154 stars 35 forks source link

Conceal for lambdas happens when it shouldn't #90

Closed prescientmoon closed 1 year ago

prescientmoon commented 1 year ago

The conceal for lambdas happens even if I use the tuple operator (/\), which looks weird: image

toastal commented 1 year ago

Similar has happened with >>= that I wasn't seeing originally. I'll take a look at it na.

toastal commented 1 year ago

@Mateiadrielrafael can you test main I believe this commit should cover it.

prescientmoon commented 1 year ago

Seems to work

triallax commented 1 year ago

A similar issue occurs with ==>.

toastal commented 1 year ago

>>= as well I believe. I'm not yet entirely sure how the Haskell/Idris/OCaml concealers are doing it when the code is basically copypasta.