configuration.nix/modules/programs/neovim/bash.nix

23 lines
383 B
Nix
Raw Normal View History

{ pkgs, lib, ... }:
let grammars = with pkgs.vimPlugins.nvim-treesitter-parsers; [
bash
];
in
{
programs.neovim = {
extraPackages = with pkgs; [
nodePackages_latest.bash-language-server
shfmt
shellcheck
];
plugins = with pkgs.vimPlugins; grammars ++ [
];
extraLuaConfig = ''
addServers({
bashls = {}
})
'';
};
}