ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.91k stars 458 forks source link

[enhancement] Project specific LSP configurations #1156

Closed ClSlaid closed 6 months ago

ClSlaid commented 8 months ago

Feature description

As a former VS Code user, I've been missing its per-project configurations for a long time.

For some projects, we would like to check with different LSP or linters. Like the rust compiler project, its layout differs from most rust projects, and thus confuses LSP servers. So painfully, you have to configure manually.

With VS Code, we could just leave an ".vscode" folder containing project specific configurations.

Thankfully, the rust project recommends a plugin named neoconf.nvim.

图片

After trying, I found it actually able to read from ".vscode" project configurations. And I'd like to integrate it into this distro.

CharlesChiuGit commented 8 months ago

seems nice to have.

ayamir commented 8 months ago

It's a nice plugin but only supports lsp features. Maybe we could also consider per project settings.lua.