From 7e27f6f2250bd4e0faa5d5e626dce541a8bb22e4 Mon Sep 17 00:00:00 2001 From: Linnnus Date: Sun, 1 Oct 2023 22:43:58 +0200 Subject: Use alejandra formatter --- home/neovim/lsp.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'home/neovim/lsp.nix') diff --git a/home/neovim/lsp.nix b/home/neovim/lsp.nix index 5a80758..3aa3094 100644 --- a/home/neovim/lsp.nix +++ b/home/neovim/lsp.nix @@ -1,10 +1,11 @@ # This module sets up LSP server configurations for Neovim. It is waaay # overcomplicated as it kind of turned into an experiment in generating Lua # code from a Nix attrset. - -{ pkgs, lib, ... }: - { + pkgs, + lib, + ... +}: { programs.neovim.plugins = [ { plugin = pkgs.vimPlugins.nvim-lspconfig; @@ -87,7 +88,6 @@ } ]; } - # I spent like an hour writing this, only to find it was a pretty bad idea. # # nixToLua = s: @@ -107,3 +107,4 @@ # toString s # else # throw "Cannot convert ${builtins.typeOf s} to Lua value!"; + -- cgit v1.2.3