docs: clarify plugin option documentation

This commit is contained in:
NotAShelf 2023-04-02 19:58:57 +03:00
commit 6fff5303b0
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
31 changed files with 45 additions and 46 deletions

View file

@ -9,7 +9,7 @@ with builtins; let
cfg = config.vim.lsp;
in {
options.vim.lsp = {
enable = mkEnableOption "neovim lsp support";
enable = mkEnableOption "Enable neovim lsp support. Requires language specific LSPs to be anabled to take effect";
formatOnSave = mkEnableOption "Format on save";
nix = {
enable = mkEnableOption "Nix LSP";
@ -45,7 +45,7 @@ in {
},
},
'';
description = "options to pass to rust analyzer";
description = "Options to pass to rust analyzer";
};
};
python = mkEnableOption "Python LSP";