emacs-lsp / lsp-haskell

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

Add automatic download for haskell-language-server #97

Open lukel97 opened 3 years ago

lukel97 commented 3 years ago

Closes #92 Wont work on Windows yet because lsp-mode upstream doesn't support decompressing gzips yet there. Also not sure what to do with lsp-haskell-server-path variables and friends. Probably needs a bit of a discussion

lukel97 commented 3 years ago

Also need to figure out how to do versioning, e.g. what happens when a new version of hls is released. Probably best to just see what the other languages are doing. If they aren't doing any version checks then it may just be fine to tell users to rm -r ~/.emacs.d/.cache/lsp/haskell

joelmccracken commented 2 years ago

Do yall mind if I pick this up and continue this work? I'd like to start contributing to the haskell language server effort, and since I know emacs lisp farily well, this is an obvious place to start

michaelpj commented 2 years ago

By all means! Do have a look at what lsp-mode provides, they have some helpers for bits of this now.