haskell / haskell-language-server

Official haskell ide support via language server (LSP). Successor of ghcide & haskell-ide-engine.
Apache License 2.0
2.61k stars 351 forks source link

Shorter file names completion #4252

Closed VenInf closed 1 month ago

VenInf commented 1 month ago

Fix for the issue #3774

To solve it I have created a wrapper of the Posix.splitFileName function. The function by default tends to add unnecessary trailing slash