add example to lsp package

This commit is contained in:
Marlon Rosenberg 2025-03-25 22:28:08 +00:00 committed by NotAShelf
parent 05da6e3318
commit 8b1e6080f6
No known key found for this signature in database
GPG key ID: 29D95B64378DB4BF

View file

@ -68,6 +68,7 @@ in {
package = mkOption {
type = either package (listOf str);
default = servers.${cfg.lsp.server}.package;
example = ''[lib.getExe pkgs.fsautocomplete "--state-directory" "~/.cache/fsautocomplete"]'';
description = "F# LSP server package, or the command to run as a list of strings";
};
};