[bot] "documentation_updates" Sun Feb 13 20:45:13 UTC 2022 (#15343)
This commit is contained in:
parent
ea020911f8
commit
6fc9faee85
2 changed files with 4 additions and 4 deletions
|
@ -35,12 +35,12 @@ file.
|
|||
* Configuration
|
||||
** Enabling LSP (Experimental)
|
||||
To use the /experimental/ LSP backend, set variable =nix-backend= to =lsp= in
|
||||
your =~./spacemacs=. (You would also need to enable [[../../+tools/lsp/README.org][LSP]] layer).
|
||||
your =~./spacemacs=. (You would also need to enable [[file:../../+tools/lsp/README.org][LSP]] layer).
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq-default dotspacemacs-configuration-layers
|
||||
(nixos :variables nixos-backend 'lsp))
|
||||
#+end_src
|
||||
#+END_SRC
|
||||
|
||||
To install [[https://github.com/nix-community/rnix-lsp][rnix-lsp]] from =nix=, run the following command in shell:
|
||||
|
||||
|
@ -58,7 +58,6 @@ To enable automatic formatting on save, set the layer variable
|
|||
#+END_SRC
|
||||
|
||||
** Opt-out from =auto-complete=
|
||||
|
||||
On some systems, =company-nixos-options= may be very slow. If this is the case,
|
||||
see the section on disabling the [[https://github.com/syl20bnr/spacemacs/blob/develop/doc/DOCUMENTATION.org#disabling-layer-services-in-other-layers][disabling auto-complete]] for the =nixos= layer.
|
||||
|
||||
|
|
|
@ -1115,6 +1115,7 @@ Features:
|
|||
- Automatic formatting via [[https://github.com/serokell/nixfmt][nixfmt]]
|
||||
- Auto-completion of NixOS Options using [[https://github.com/travisbhartwell/nix-emacs/blob/master/company-nixos-options.el][company-nixos-options]]
|
||||
- Helm Lookup for NixOS Options [[https://github.com/travisbhartwell/nix-emacs/blob/master/helm-nixos-options.el][helm-nixos-options]]
|
||||
- WIP support for LSP backend using =rnix-lsp=
|
||||
|
||||
** OSX
|
||||
[[file:+os/osx/README.org][+os/osx/README.org]]
|
||||
|
|
Reference in a new issue