Files
dotfiles/modules/nvim/default.nix
natto1784 d49f0b473c misc changes
xmonad: added new layout+keybinds, removed useless code
neovim: minor changes
hosts/satori: changed kernel to zen again
home/services and home/programs: minor changes
overlays: changed picom src and other minor changes
2021-09-12 06:24:49 +05:30

39 lines
898 B
Nix

{config, pkgs, ...}:
{
programs.neovim = {
enable = true;
package = pkgs.neovim-unwrapped.overrideAttrs (_:{
nativeBuildInputs = with pkgs.unstable; [ unzip cmake pkgconfig gettext tree-sitter ];
});
defaultEditor = true;
configure = {
customRC = ''
lua << EOF
${builtins.readFile ./init.lua}
EOF
'';
packages.myVimPackage = with pkgs.unstable.vimPlugins; {
start = [
nvim-colorizer-lua
auto-pairs
vim-floaterm
vim-closetag
vim-floaterm
nerdcommenter
nvim-compe
nvim-lspconfig
barbar-nvim
presence-nvim
nvim-web-devicons
nvim-tree-lua
vim-vsnip
nvim-treesitter
vim-polyglot
(gruvbox.overrideAttrs (oa: { patches = [ ./gruvbox.patch ]; }))
];
};
};
};
}