2019-11-23 09:03:58 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
2020-07-24 23:27:32 +01:00
|
|
|
home.file.".vimrc".source = /home/cyryl/dev/dotfiles/.vimrc.nixos;
|
2020-05-02 10:49:49 +01:00
|
|
|
programs.neovim = {
|
|
|
|
enable = true;
|
|
|
|
viAlias = true;
|
|
|
|
vimAlias = true;
|
|
|
|
vimdiffAlias = true;
|
|
|
|
withNodeJs = true;
|
|
|
|
withPython3 = true;
|
|
|
|
withRuby = true;
|
2019-11-23 09:03:58 +00:00
|
|
|
|
2020-05-02 10:49:49 +01:00
|
|
|
plugins = with pkgs.vimPlugins; [
|
|
|
|
coc-highlight
|
|
|
|
coc-nvim
|
2020-07-04 10:50:31 +01:00
|
|
|
coc-rust-analyzer
|
2020-05-02 10:49:49 +01:00
|
|
|
coc-tabnine
|
|
|
|
ctrlp-vim
|
|
|
|
editorconfig-vim
|
|
|
|
fzf-vim
|
|
|
|
nerdtree
|
|
|
|
nerdtree-git-plugin
|
|
|
|
rainbow
|
|
|
|
tabular
|
|
|
|
vim-airline
|
|
|
|
vim-airline-themes
|
|
|
|
vim-autoformat
|
|
|
|
vim-colors-solarized
|
|
|
|
vim-dirdiff
|
|
|
|
vim-dispatch
|
|
|
|
vim-fugitive
|
|
|
|
vim-gitgutter
|
|
|
|
vim-markdown
|
|
|
|
vim-nix
|
|
|
|
vim-sensible
|
|
|
|
vim-startify
|
|
|
|
vim-surround
|
|
|
|
vim-toml
|
|
|
|
];
|
|
|
|
extraConfig = ''
|
|
|
|
if filereadable($HOME . "/.vimrc")
|
|
|
|
source $HOME/.vimrc
|
|
|
|
endif
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|