summaryrefslogtreecommitdiff
path: root/home/neovim/lsp.nix
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-10-01 22:43:58 +0200
committerLinnnus <[email protected]>2023-10-01 23:08:32 +0200
commit7e27f6f2250bd4e0faa5d5e626dce541a8bb22e4 (patch)
tree11eb68ec0ae6e1f9cd1f4d7b645cc55e582b1873 /home/neovim/lsp.nix
parent241bbaf27ad990d0630b7b48f3e9858e8f42b88f (diff)
Use alejandra formatter
Diffstat (limited to 'home/neovim/lsp.nix')
-rw-r--r--home/neovim/lsp.nix9
1 files changed, 5 insertions, 4 deletions
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!";
+