docs(nix): mention +lsp flag

Ref: #6592
This commit is contained in:
terru 2023-10-05 17:45:50 +02:00 committed by GitHub
parent f5be3ec1e5
commit da99d39e4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,12 @@ Includes:
- +tree-sitter :: - +tree-sitter ::
Leverages tree-sitter for better syntax highlighting and structural text Leverages tree-sitter for better syntax highlighting and structural text
editing. Requires [[doom-module::tools tree-sitter]]. 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 ** Packages
- [[doom-package:company-nixos-options]] if [[doom-module::completion company]] - [[doom-package:company-nixos-options]] if [[doom-module::completion company]]