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

automatically change session target based on buffer #1841

Open
Atemu opened this issue Mar 31, 2024 · 0 comments
Open

automatically change session target based on buffer #1841

Atemu opened this issue Mar 31, 2024 · 0 comments

Comments

@Atemu
Copy link

Atemu commented Mar 31, 2024

One very confusion thing to me as I am very new to cabal was how targets work and it took me quite a while to figure all of this out.

It would have been a lot simpler (and would still be more convenient) if the session could be automagically changed depending on which buffer you're in.

haskell-mode should be able to figure out which component a buffer belongs to by comparing its path with the components' hs-source-dirs.

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

No branches or pull requests

1 participant