36 lines
689 B
Nix
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
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|