34 lines
420 B
Nix
34 lines
420 B
Nix
pkgs:
|
|
|
|
{
|
|
enable = true;
|
|
vimAlias = true;
|
|
|
|
extraConfig = ''
|
|
luafile /etc/nixos/nvim/settings.lua
|
|
'';
|
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
# coc
|
|
coc-nvim
|
|
coc-rust-analyzer
|
|
coc-lua
|
|
vim-nix
|
|
|
|
# make brackets nicer
|
|
nvim-autopairs
|
|
|
|
# colorize hex codes
|
|
nvim-colorizer-lua
|
|
|
|
# colorize brackets
|
|
rainbow
|
|
|
|
# format rust stuff
|
|
rust-vim
|
|
|
|
# theme
|
|
gruvbox
|
|
];
|
|
}
|