From e9a16d076f42c4f583a5329123d51b4c0f43edf6 Mon Sep 17 00:00:00 2001 From: Rudolf Tucek Date: Sat, 8 Aug 2026 01:46:54 +0200 Subject: [PATCH] Add lsp-format Add lsp-format package, allowing to auto-format code on-save. --- home/neovim/lsp/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/neovim/lsp/default.nix b/home/neovim/lsp/default.nix index feda27f..913192d 100644 --- a/home/neovim/lsp/default.nix +++ b/home/neovim/lsp/default.nix @@ -69,6 +69,12 @@ }; }; + # seehttps://github.com/lukas-reineke/lsp-format.nvim/ + lsp-format = { + enable = true; + lspServersToEnable = "all"; + }; + # see https://github.com/hrsh7th/nvim-cmp cmp = { enable = true;