mong8se / actually.nvim

A plugin to help load the file you actually meant to load.
GNU General Public License v3.0
54 stars 0 forks source link

this extension doesnt seem to work together with project.nvim #1

Open Rishabh672003 opened 2 years ago

Rishabh672003 commented 2 years ago

this is a great plugin and works great most of the times but for me its not working with project.nvim , i know that because i removed that plugin and now this one works fine. here you can see for yourself - video here are all my config files - configs

mong8se commented 2 years ago

Hmm, I added project.nvim to my config using your project.nvim settings and I haven't been able to recreate it yet. Must be a combination of things. Maybe because I'm on 0.7.0 and you're on 0.7.2. I'll try to triangulate it.

Rishabh672003 commented 2 years ago

i am actually using the dev branch of neovim that is neovim-0.8 i think that's the issue let me try it in neovim-0.7

mong8se commented 2 years ago

Oh I'm a dummy I'm on 0.7.2 not .0 ... I was able to get some squirrelly results playing with commenting out some plugins, but I haven't figured out what mixture of factors causes squirrelliness

raddari commented 2 years ago

Can confirm I'm getting the same issue on neovim-0.8. Interestingly, changing the project.nvim setup from:

detection_methods = { 'lsp', 'pattern' }

to:

detection_methods = { 'lsp' }

seems to fix the problem. project.nvim also correctly reports that lsp was used to change the directory rather than pattern.

I'm definitely no expert when it comes to packer or neovim plugins in general, but the fix above makes me think the issue is probably caused by problematic load or configuration order between project.nvim and nvim-lspconfig rather than this plugin. I've tried shuffling around the orders and lazy loading actually.nvim and project.nvim to no avail.

Relevant configs: packerspecs.lua config/project.lua config/lsp-zero.lua