-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
feat: allow to set cwd #179
Conversation
9bd6662
to
da471d6
Compare
Is this a use-case that you want to set the How about adding an |
I have no idea, I guess no.
In my previous vim experience, when I have used null-ls, ALE, (any older plugins I used)... the default was always the "project root directory" if found or buffer cwd if not. This has always worked out of the box for me.
That should work for me. |
I updated the PR to pass the option to |
neovim doesn't have the concept of a "project root directory". There is actually work going on that might result in some kind of project module that would introduce such a concept. That's also the reason why I'm holding off on this for now. |
Exactly, that is why I just introduced the configuration of To give you an idea of my current setup, I have:
And
|
I work with a monorepo structure using eslint and nested right now eslint only works if I open vim from one of the subfolders. |
Vscode has a |
@sileht would you be up for rebasing this? Sorry that I let this slide for so long. I wanted to wait out a discussion around some project system on neovim core (that it didn't happen), and then got sidetracked with plenty of other stuff. I think in general adding the |
fd26a2a
to
8ff878d
Compare
@mfussenegger done. |
Wow that was quick. Left a minor suggestion, otherwise this seems good to go. |
I use it every day, so it was almost up to date |
Fixes #178