27 lines
345 B
Nix
27 lines
345 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
|
||
|
|
||
|
# make brackets nicer
|
||
|
nvim-autopairs
|
||
|
|
||
|
# colorize hex codes
|
||
|
nvim-colorizer-lua
|
||
|
|
||
|
# colorize brackets
|
||
|
rainbow
|
||
|
];
|
||
|
}
|