modules/lsp: update wording for plugins.lspconfig recommendation

This commit is contained in:
Matt Sturgeon 2025-04-28 17:32:11 +01:00
parent 556eb29548
commit 812b2b0903
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -1,6 +1,7 @@
{ {
lib, lib,
config, config,
options,
... ...
}: }:
let let
@ -29,7 +30,9 @@ in
LSP servers to enable and/or configure. LSP servers to enable and/or configure.
This option is implemented using neovim's `vim.lsp` lua API. This option is implemented using neovim's `vim.lsp` lua API.
If you prefer to use [nvim-lspconfig], see [`plugins.lspconfig`].
You may also want to use [nvim-lspconfig] to install _default configs_ for many language servers.
This can be installed using [`${options.plugins.lspconfig.enable}`][`plugins.lspconfig`].
[nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig [nvim-lspconfig]: https://github.com/neovim/nvim-lspconfig
[`plugins.lspconfig`]: https://nix-community.github.io/nixvim/plugins/lspconfig/index.html [`plugins.lspconfig`]: https://nix-community.github.io/nixvim/plugins/lspconfig/index.html