Skip to content

Commit 1c05413

Browse files
author
Emily Bourke
committed
Remove lsp-haskell--get-root from docstring
~'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.
1 parent daa5107 commit 1c05413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lsp-haskell.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ For example, use the following the start the process in a nix-shell:
248248
(append (list \"nix-shell\" \"-I\" \".\" \"--command\" )
249249
(list (mapconcat 'identity argv \" \"))
250250
)
251-
(list (concat (lsp-haskell--get-root) \"/shell.nix\"))
251+
(list (concat (lsp--suggest-project-root) \"/shell.nix\"))
252252
)
253253
)"
254254
:group 'lsp-haskell

0 commit comments

Comments
 (0)