nix-dotfiles/packages/vim.nix

39 lines
775 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
programs.neovim = {
enable = true;
viAlias = true;
vimAlias = true;
defaultEditor = true;
2024-04-14 03:24:00 +02:00
withPython3 = true;
withNodeJs = true;
configure = {
customRC = ''
" your custom vimrc
set nocompatible
set backspace=indent,eol,start
" Turn on syntax highlighting by default
syntax on
2024-06-14 14:35:25 +02:00
set tabstop=2 softtabstop=0 autoindent expandtab shiftwidth=2 smarttab
" ...
'';
packages.myplugins = with pkgs.vimPlugins; {
2024-06-13 00:23:24 +02:00
start = [
vim-nix
vim-lastplace
vim-yaml
2024-06-13 14:40:34 +02:00
#coc-rust-analyzer
#neovim-fuzzy
#LanguageClient-neovim
#copilot-vim
#chadtree
2024-06-13 00:23:24 +02:00
];
opt = [
#copilot-vim
];
};
};
};
}