mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2024-12-23 19:27:29 +01:00
25 lines
491 B
Nix
25 lines
491 B
Nix
|
{ pkgs, ... }:
|
||
|
{
|
||
|
programs.neovim = {
|
||
|
enable = true;
|
||
|
viAlias = true;
|
||
|
vimAlias = true;
|
||
|
defaultEditor = true;
|
||
|
|
||
|
configure = {
|
||
|
customRC = ''
|
||
|
" your custom vimrc
|
||
|
set nocompatible
|
||
|
set backspace=indent,eol,start
|
||
|
" Turn on syntax highlighting by default
|
||
|
syntax on
|
||
|
" ...
|
||
|
'';
|
||
|
packages.myplugins = with pkgs.vimPlugins; {
|
||
|
start = [ vim-nix vim-lastplace vim-yaml ];
|
||
|
opt = [];
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|