From 6fc9faee851e27568f7410c4ffa63b010d997026 Mon Sep 17 00:00:00 2001 From: SpacemacsBot <86630153+SpacemacsBot@users.noreply.github.com> Date: Sun, 13 Feb 2022 22:46:34 +0200 Subject: [PATCH] [bot] "documentation_updates" Sun Feb 13 20:45:13 UTC 2022 (#15343) --- layers/+os/nixos/README.org | 7 +++---- layers/LAYERS.org | 1 + 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/layers/+os/nixos/README.org b/layers/+os/nixos/README.org index 4b05fb155..f2ae28568 100644 --- a/layers/+os/nixos/README.org +++ b/layers/+os/nixos/README.org @@ -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. diff --git a/layers/LAYERS.org b/layers/LAYERS.org index c490dee1c..ac41db066 100644 --- a/layers/LAYERS.org +++ b/layers/LAYERS.org @@ -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]]