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

Support multiple tab LSP?

Open PxCommoner opened this issue 2 years ago • 4 comments

The default configuration does not properly support multiple tab and window LSP.

If I enable the rust analyzer in init.lua, only the first rust file opened will have error detection and checks. Opening additional tabs and windows does not have such detections.

PxCommoner avatar Jan 13 '23 22:01 PxCommoner

Is this issue with init.lua from this project or is it something specific to rust-analyzer in NeoVim in general?

cprn avatar Jan 21 '23 06:01 cprn

@cprn I do not know. It appears that I am the first one who has been bothered that the rust-analyzer does not seem to support multiple files by default. I have checked the rust-analyzer documentation and have found nothing regarding the analyzer not working with tabs and windows or multiple files.

I have been able to get the rust-analyzer to work with tabs and windows although it is a rather tedious method: https://github.com/fannheyward/coc-rust-analyzer/issues/1099 so I guess that would indicate at the very least that rust-analyzer is capable of analyzing multiple tabs and windows.

I would hope that it is possible to implement such behavior in the init.lua script.

PxCommoner avatar Jan 21 '23 19:01 PxCommoner

Can you try again with latest version of kickstart.nvim? And make sure you on recent nvim version? I have never had this happen to me (and have recently tried editing rust projects in particular with this config).

Thanks.

tjdevries avatar Feb 17 '23 21:02 tjdevries

Hello, I tried using the newest kickstart.nvim init.lua file and updated neovim to the most recent stable version. The issue is no longer present.

Thank you for your suggestion.

PxCommoner avatar Feb 19 '23 03:02 PxCommoner

Great! Thanks for reporting back!

tjdevries avatar Feb 19 '23 20:02 tjdevries