Closed 3Rafal closed 2 years ago
@juergenhoetzel ,
I've added tests for operator faces. Unfortunately, when running from buttercup they fail for |>
and <|
cases.
Running manually
(with-highlighted "<<| |>> |> ||> |||> <| <|| <||| <|> <<|!"
(str-face "|>"))
returns fsharp-ui-operator-face
correctly though...
@juergenhoetzel , I have fixed tests and they're work fine now. would you mind reviewing my PR?
Thank you for fixing this special-case and writing the tests :+1:
LSP tests fail again but is unrelated to this PR (due to fsautocomplete
update) :disappointed:
Currently, custom operators that contain pipe char sequence are colored partially. Let's say we have operator
|>>
(monadic map in FSharpPlus and FParsec libs). Part that contains pipe gets colored (|>
), part that remains (>
) stays default. This PR sets all custom operators with pipe sequence to default.