diff --git a/jrpotter/neovim/default.nix b/jrpotter/neovim/default.nix index 16e0056..aaaa425 100644 --- a/jrpotter/neovim/default.nix +++ b/jrpotter/neovim/default.nix @@ -65,6 +65,7 @@ in }; imports = [ + ./lang/bash.nix ./lang/lean.nix ./lang/lua.nix ./lang/nix.nix diff --git a/jrpotter/neovim/lang/bash.nix b/jrpotter/neovim/lang/bash.nix new file mode 100644 index 0000000..81b9f0d --- /dev/null +++ b/jrpotter/neovim/lang/bash.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: +{ + programs.neovim = { + nvim-lspconfig = '' + require('init.lsp').setup(require('lspconfig').bashls) {} + ''; + + extraPackages = with pkgs; [ + nodePackages.bash-language-server + shellcheck + ]; + }; +}