Skip to content

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