Skip to content

LSP: Unable to "hover" when a local definition or type definition's file path contains url encoded characters #238

@Per48edjes

Description

@Per48edjes

Question

I was just practicing Haskell with Exercism and exploring property testing (here is the source code if that's helpful), and I'm noticing whenever I try to "hover" on some of the imports from Tests.QuickCheck (e.g., Gen, elements, forAll, value), I get the following error:

Error executing vim.schedule lua callback: .../lazy/haskell-tools.nvim/lua/haskell-tools/lsp/hover.lua:212: inv
alid option '%20R' to 'format'
stack traceback:
        [C]: in function 'format'
        .../lazy/haskell-tools.nvim/lua/haskell-tools/lsp/hover.lua:212: in function 'handler'
        ...l/Cellar/neovim/0.9.0/share/nvim/runtime/lua/vim/lsp.lua:1394: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

Is this to be expected for any particular reason (vs. other packages)? Any pointers are well received -- looking to understand why this issue might arise!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions