project.nvim icon indicating copy to clipboard operation
project.nvim copied to clipboard

Per project configuration

Open MordechaiHadad opened this issue 4 years ago • 7 comments

Would be pretty cool to have per project configuration using JSON and if possible also allow other plugins to write extensions for this plugin

MordechaiHadad avatar Sep 25 '21 19:09 MordechaiHadad

Such functionality is already possible

elken avatar Oct 16 '21 12:10 elken

Such functionality is already possible

that is not even 50% of what i wanted, i want more than just configuring lsp per project

MordechaiHadad avatar Oct 16 '21 16:10 MordechaiHadad

Then I'd suggest reading again. You can configure anything.

elken avatar Oct 16 '21 16:10 elken

Then I'd suggest reading again. You can do anything.

You were indeed correct, but I'd still rather have the per project configuration done via JSON and a separate plugin that is already about project management not really a fan of doing that with exrc

MordechaiHadad avatar Oct 16 '21 16:10 MordechaiHadad

That was actually one of the goals I had in mind when first developing project.nvim, unfortunately though it proved to be a big security issue. I am still exploring ways to add that feature while having minimal impact on security, so if u got any ideas l'me know!

ahmedkhalf avatar Nov 05 '21 16:11 ahmedkhalf

Look at how projectionist does it would be a good start, I would say :)

elken avatar Nov 05 '21 16:11 elken

That was actually one of the goals I had in mind when first developing project.nvim, unfortunately though it proved to be a big security issue. I am still exploring ways to add that feature while having minimal impact on security, so if u got any ideas l'me know!

that is good to hear

MordechaiHadad avatar Nov 06 '21 15:11 MordechaiHadad

Neovim added exrc option at 0.9 but project.nvim hasn't benefited from it. I guess it's because neovim sources exrc during startup instead of opening a new buffer. Would you consider to sourcing the exrc may exist every time jumping to a new project?

TD-Sky avatar Dec 11 '23 06:12 TD-Sky