Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

emdash-ie
Copy link

@emdash-ie emdash-ie commented Aug 8, 2022

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

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.

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

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.
@michaelpj michaelpj merged commit 485c114 into emacs-lsp:master Aug 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants