Skip to content
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

Add support for sandboxed ghc-mod via stack exec #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

venantius
Copy link

This commit adds a new global variable, g:ghcmod_stack_exec, which
when set to 1 will execute ghc-mod via stack exec -- ghc-mod instead
of trying to use ghc-mod via ~/.local/bin.

This effectively adds support for sandboxed ghc-mod via stack on a
per-project or per-compiler-version basis.

I believe this should resolve #88 and potentially #84.

This commit adds a new global variable, `g:ghcmod_stack_exec`, which
when set to 1 will execute ghc-mod via `stack exec -- ghc-mod` instead
of trying to use `ghc-mod` via `~/.local/bin`.

This effectively adds support for sandboxed ghc-mod via stack on a
per-project or per-compiler-version basis.
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.

making stack work with ghcmod-vim?
1 participant