From f8cd8afc0638875197829ef3367fb51a57b6ac53 Mon Sep 17 00:00:00 2001 From: caem Date: Tue, 24 Dec 2024 22:35:39 +0100 Subject: [PATCH] nvim: Add support for bashls --- dotfiles/nvim/lua/plugins/lsp/shell.lua | 5 +++++ modules/packages/nvim.nix | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 dotfiles/nvim/lua/plugins/lsp/shell.lua diff --git a/dotfiles/nvim/lua/plugins/lsp/shell.lua b/dotfiles/nvim/lua/plugins/lsp/shell.lua new file mode 100644 index 0000000..72772f2 --- /dev/null +++ b/dotfiles/nvim/lua/plugins/lsp/shell.lua @@ -0,0 +1,5 @@ +return function() + require"lspconfig".bashls.setup { + capabilities = require"cmp_nvim_lsp".default_capabilities(), + } +end diff --git a/modules/packages/nvim.nix b/modules/packages/nvim.nix index cc2faa8..6c629fd 100644 --- a/modules/packages/nvim.nix +++ b/modules/packages/nvim.nix @@ -36,6 +36,8 @@ texlab haskell-language-server rustc + shellcheck + bash-language-server ]; };