Equilibris / nx.nvim

A simple tool providing the same features as the NX console does for vs-code
The Unlicense
94 stars 16 forks source link

Run nx in current buffer's directory #23

Open Marat-Gumerov opened 1 year ago

Marat-Gumerov commented 1 year ago

Is your feature request related to a problem? Please describe. I have a project, which contains both FrontEnd and BackEnd. That's why my nx.json is not located in the project root. So I cannot use this plugin if I open the whole project.

Describe the solution you'd like Always use the current buffer's directory. When I open a file inside nx workspace everything should work, I think.

Describe alternatives you've considered Being able to set the plugin working directory manually in the setup arguments. In this case, I will be able to write my scripts in Lua config to resolve this issue.

Additional context