Files
dotfiles/modules/nvim/default.nix
natto1784 6130b448e0 misc changes
new services, random config updates
2021-11-30 06:31:53 +05:30

39 lines
912 B
Nix

{config, pkgs, ...}:
{
programs.neovim = {
enable = true;
package = pkgs.neovim-nightly;
# package = pkgs.neovim-nightly.overrideAttrs (_:{
# nativeBuildInputs = with pkgs; [ 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
nerdcommenter
nvim-compe
nvim-lspconfig
barbar-nvim
presence-nvim
nvim-web-devicons
nvim-tree-lua
vim-vsnip
nvim-treesitter
vim-latex-live-preview
(gruvbox.overrideAttrs (oa: { patches = [ ./gruvbox.patch ]; }))
];
};
};
};
}