HexName-NixOS/pkgs/neovim.nix
2026-01-19 21:47:18 +00:00

36 lines
689 B
Nix

{ config, pkgs, programs, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
# viAlias = true;
vimAlias = true;
configure = {
customRC = ''
set cc=80
set list
set listchars=tab:\ ,trail:,precedes:«,extends:»
colorscheme habamax
'';
packages.myVimPackage = with pkgs.vimPlugins; {
start = [
(nvim-treesitter.withPlugins (
plugins: with plugins; [
nix
python
bash
c
]
))
telescope-nvim
vim-commentary # gcc
vim-startify
];
};
};
};
}