nixos-config/users/rouven/modules/neovim/default.nix

26 lines
509 B
Nix
Raw Normal View History

2022-12-19 19:30:32 +01:00
{ config, pkgs, ... }:
{
2023-02-21 17:59:05 +01:00
home.packages = with pkgs; [
python310Packages.python-lsp-server
];
2022-12-19 19:30:32 +01:00
programs.neovim = {
enable = true;
2022-12-22 14:04:39 +01:00
vimAlias = true;
2022-12-19 19:30:32 +01:00
plugins = with pkgs.vimPlugins; [
nerdtree
nerdcommenter
vim-repeat
vim-airline
fzf-vim
dracula-vim
vim-nix # this destroys my tab settings, ffs
2023-02-21 17:59:05 +01:00
nvim-lspconfig
nvim-cmp
cmp-buffer
cmp-nvim-lsp
cmp-path
2022-12-19 19:30:32 +01:00
];
};
2023-02-21 17:59:05 +01:00
xdg.configFile."nvim/init.lua".source = ./nvim.lua;
2022-12-19 19:30:32 +01:00
}