mong8se/actually.nvim

this extension doesnt seem to work together with project.nvim

Opened this issue · 4 comments

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

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.

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

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

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