]> Git — Sourcephile - julm/julm-nix.git/blob - homes/softwares/vim.nix
backup: add rsync on patate
[julm/julm-nix.git] / homes / softwares / vim.nix
1 { pkgs, lib, config, ... }:
2 let inherit (builtins) readFile; in
3 {
4 programs.vim = {
5 extraConfig =
6 readFile vim/vimrc
7 #+ readFile home/vim/syntastic.vim
8 #+ readFile home/vim/coc.vim
9 + readFile vim/ale.vim
10 ;
11 # Plugin list:
12 # nix-instantiate -E --eval 'builtins.attrNames (import <nixpkgs> {}).vimPlugins'
13 plugins = [
14 #pkgs.vimPlugins.vim-lsc
15 pkgs.vimPlugins.gitgutter
16 #pkgs.vimPlugins.nvim-yarp
17 #pkgs.vimPlugins.deoplete-nvim
18 #pkgs.vimPlugins.deoplete-lsp
19 #pkgs.vimPlugins.LanguageClient-neovim
20 #pkgs.vimPlugins.fzf-vim
21 #pkgs.vimPlugins.echodoc
22 pkgs.vimPlugins.ale
23 #pkgs.vimPlugins.indentLine
24 #pkgs.vimPlugins.vim-indent-guides
25 #pkgs.vimPlugins.coc-nvim
26 #pkgs.vimPlugins.coc-diagnostic
27 #pkgs.vimPlugins.coc-json
28 #pkgs.vimPlugins.coc-lists
29 pkgs.vimPlugins.easy-align
30 pkgs.vimPlugins.hoogle
31 pkgs.vimPlugins.Recover-vim
32 #pkgs.vimPlugins.syntastic
33 #pkgs.vimPlugins.The_NERD_tree
34 pkgs.vimPlugins.vim-dirvish
35 pkgs.vimPlugins.vim-buffergator
36 pkgs.vimPlugins.vim-markdown
37 pkgs.vimPlugins.vimproc
38 #pkgs.vimPlugins.fugitive
39 ];
40 };
41 programs.neovim = {
42 extraConfig =
43 readFile neovim/init.vim +
44 readFile vim/ale.vim;
45 plugins = [
46 #pkgs.vimPlugins.vim-lsc
47 pkgs.vimPlugins.gitgutter
48 #pkgs.vimPlugins.nvim-yarp
49 #pkgs.vimPlugins.deoplete-nvim
50 #pkgs.vimPlugins.deoplete-lsp
51 #pkgs.vimPlugins.LanguageClient-neovim
52 #pkgs.vimPlugins.fzf-vim
53 #pkgs.vimPlugins.echodoc
54 pkgs.vimPlugins.ale
55 #pkgs.vimPlugins.indentLine
56 #pkgs.vimPlugins.vim-indent-guides
57 #pkgs.vimPlugins.coc-nvim
58 #pkgs.vimPlugins.coc-diagnostic
59 #pkgs.vimPlugins.coc-json
60 #pkgs.vimPlugins.coc-lists
61 pkgs.vimPlugins.easy-align
62 pkgs.vimPlugins.hoogle
63 pkgs.vimPlugins.Recover-vim
64 #pkgs.vimPlugins.syntastic
65 #pkgs.vimPlugins.The_NERD_tree
66 pkgs.vimPlugins.vim-dirvish
67 pkgs.vimPlugins.vim-buffergator
68 pkgs.vimPlugins.vim-markdown
69 pkgs.vimPlugins.vimproc
70 #pkgs.vimPlugins.fugitive
71 ];
72 };
73 }