From f094afd657e92984e832ca97af3702f845ad1662 Mon Sep 17 00:00:00 2001 From: Imran Hossain Date: Tue, 3 Dec 2024 13:12:50 -0500 Subject: [PATCH] nvim: Update lsp options --- modules/home/neovim/lsp.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/home/neovim/lsp.nix b/modules/home/neovim/lsp.nix index fef9f38..8669cf4 100644 --- a/modules/home/neovim/lsp.nix +++ b/modules/home/neovim/lsp.nix @@ -10,13 +10,16 @@ in { gopls.enable = true; # Haskell - hls.enable = true; + hls = { + enable = true; + installGhc = false; + }; # JSON jsonls.enable = true; # Nix - nil-ls = { + nil_ls = { enable = true; settings = { formatting.command = ["alejandra"]; @@ -27,7 +30,7 @@ in { pylsp.enable = true; # Rust - rust-analyzer = { + rust_analyzer = { enable = true; installRustc = false; installCargo = false; @@ -40,7 +43,7 @@ in { texlab.enable = true; # TypeScript - ts-ls.enable = true; + ts_ls.enable = true; }; };