mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
34 lines
619 B
Nix
34 lines
619 B
Nix
{ pkgs, ... }:
|
|
{
|
|
programs.neovim = {
|
|
enable = true;
|
|
viAlias = true;
|
|
vimAlias = true;
|
|
withNodeJs = true;
|
|
withPython3 = true;
|
|
withRuby = true;
|
|
coc = {
|
|
enable = true;
|
|
package = pkgs.vimPlugins.coc-nvim;
|
|
};
|
|
plugins = with pkgs.vimPlugins; [
|
|
vim-nix
|
|
vim-polyglot
|
|
vim-smoothie
|
|
tokyonight-nvim
|
|
rainbow
|
|
indentLine
|
|
undotree
|
|
];
|
|
extraConfig = ''
|
|
set tabstop=2
|
|
set expandtab
|
|
set shiftwidth=2
|
|
set ignorecase
|
|
set incsearch
|
|
set number
|
|
set noswapfile
|
|
let mapleader = "'"
|
|
'';
|
|
};
|
|
}
|