From f32627307ace7bd5fdaa5c5d76d82009f020c68c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=A9tan=20Lepage?= <33058747+GaetanLepage@users.noreply.github.com> Date: Tue, 10 Jan 2023 13:41:47 +0100 Subject: [PATCH] nvim-lsp: add bashls language server (#108) --- example.nix | 2 +- plugins/nvim-lsp/basic-servers.nix | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/example.nix b/example.nix index 0fe208b1..20a89dc2 100644 --- a/example.nix +++ b/example.nix @@ -1,7 +1,7 @@ { pkgs, ... }: { programs.nixvim = { - # This just enables NixVim. + # This just enables NixVim. # If all you have is this, then there will be little visible difference # when compared to just installing NeoVim. enable = true; diff --git a/plugins/nvim-lsp/basic-servers.nix b/plugins/nvim-lsp/basic-servers.nix index 3882d8d9..385173cc 100644 --- a/plugins/nvim-lsp/basic-servers.nix +++ b/plugins/nvim-lsp/basic-servers.nix @@ -2,6 +2,11 @@ let helpers = import ./helpers.nix args; servers = [ + { + name = "bashls"; + description = "Enable bashls, for bash."; + packages = [ pkgs.nodePackages.bash-language-server ]; + } { name = "clangd"; description = "Enable clangd LSP, for C/C++.";