nwolverson / purescript-language-server

MIT License
184 stars 41 forks source link

allow setting package source globs using PURS_IDE_SOURCES #75

Closed justinwoo closed 4 years ago

justinwoo commented 4 years ago

related to https://github.com/purescript-emacs/psc-ide-emacs/pull/192

So I want to be able to set the source globs from the environment, because I have some setups that do not use the purescript package managers on purpose.

Given:

Screenshot from 2020-06-14 13-34-35

I can now run a local purs language server:

Screenshot from 2020-06-14 13-33-53

And vscode find definition works as expected:

Screenshot from 2020-06-14 13-34-03

Screenshot from 2020-06-14 13-34-12

owickstrom commented 4 years ago

I'd also like to do something like this, running custom PureScript setups in Nix. Happy to provide feedback or help out if needed.

justinwoo commented 4 years ago

@nwolverson have you had a chance to look at this recently?

nwolverson commented 4 years ago

This looks good, I don't tend to merge here until I have time to test and release.

justinwoo commented 4 years ago

thanks!