https://bugs.kde.org/show_bug.cgi?id=446670

            Bug ID: 446670
           Summary: LSP popups contain HTML escape entities
           Product: kate
           Version: Git
          Platform: Other
                OS: All
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: 6year...@gmail.com
  Target Milestone: ---

I'm using Kate with the LSP plugin and Haskell Language Server, a LSP
implementation for the Haskell programming language. It works quite well,
except the following nasty bug:

Haskell type annotations usually contain an "->" to denote function types.
However, when I hover over any function and get a popup window, I see "Int
-> String" instead of "Int -> String".


STEPS TO REPRODUCE
1. Install HLS https://github.com/haskell/haskell-language-server/
2. Create an empty Haskell project with `cabal init`.
3. Put the following code into "Main.hs":

sum x y = x + y

4. Hover over "sum" string and look into popup.

OBSERVED RESULT

sum :: Int -> Int -> Int

EXPECTED RESULT

sum :: Int -> Int -> Int

ADDITIONAL INFORMATION

I'm not quite sure if this bug should be reported to HLS upstream or here. But
given that other editors work fine with HLS, I decided to try here first.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to