config/maddie/neovim.nix

28 lines
483 B
Nix

{ config, pkgs, lib, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
nodejs
sumneko-lua-language-server
nodePackages.bash-language-server
nodePackages.vim-language-server
nodePackages.pyright
rust-analyzer
rnix-lsp
universal-ctags
];
};
home.packages = with pkgs; [
neovide
];
xdg.configFile."nvim" = {
source = ./neovim;
recursive = true;
};
}