docs(nix): mention +lsp flag

Ref: #6592
This commit is contained in:
terru 2023-10-05 17:45:50 +02:00 committed by Yann Esposito (Yogsototh)
parent db97eb987f
commit f287d0c7d5
Signed by untrusted user who does not match committer: yogsototh
GPG key ID: 7B19A4C650D59646

View file

@ -22,6 +22,12 @@ Includes:
- +tree-sitter ::
Leverages tree-sitter for better syntax highlighting and structural text
editing. Requires [[doom-module::tools tree-sitter]].
- +lsp ::
Enable an LSP hook for ~nix-mode~. Requires [[doom-module::tools lsp]] and a language
server (one of either ~nil~ or ~rnix-lsp~).
You can still start a nix lsp manually without this flag, this just adds
a hook to always start the lsp when loading ~nix-mode~.
** Packages
- [[doom-package:company-nixos-options]] if [[doom-module::completion company]]