emacs-lsp / lsp-haskell

lsp-mode :heart: haskell
https://emacs-lsp.github.io/lsp-haskell
GNU General Public License v3.0
233 stars 63 forks source link

Remove lsp-haskell--get-root from docstring #152

Closed emdash-ie closed 2 years ago

emdash-ie commented 2 years ago

'lsp-haskell--get-root was an alias for 'lsp--suggest-project-root, and was removed in commit 9c0203b7cef395d3d5e0fcfacf0873419896d1a9.

However, it remained in this doc-string example value for lsp-haskell-server-wrapper-function. Using it led to a confusing bug (at least for me) where 'lsp--server-binary-present? would return nil, leading to the "lsp-haskell is not configured" message.

Using 'lsp--suggest-project-root instead works as before.