1 { pkgs, lib, config, ... }:
2 let inherit (builtins) readFile; in
8 #+ readFile home/vim/syntastic.vim
9 #+ readFile home/vim/coc.vim
10 + readFile vim/ale.vim
13 # nix-instantiate -E --eval 'builtins.attrNames (import <nixpkgs> {}).vimPlugins'
15 #pkgs.vimPlugins.vim-lsc
16 pkgs.vimPlugins.gitgutter
17 #pkgs.vimPlugins.nvim-yarp
18 #pkgs.vimPlugins.deoplete-nvim
19 #pkgs.vimPlugins.deoplete-lsp
20 #pkgs.vimPlugins.LanguageClient-neovim
21 #pkgs.vimPlugins.fzf-vim
22 #pkgs.vimPlugins.echodoc
24 #pkgs.vimPlugins.indentLine
25 #pkgs.vimPlugins.vim-indent-guides
26 #pkgs.vimPlugins.coc-nvim
27 #pkgs.vimPlugins.coc-diagnostic
28 #pkgs.vimPlugins.coc-json
29 #pkgs.vimPlugins.coc-lists
30 pkgs.vimPlugins.easy-align
31 pkgs.vimPlugins.hoogle
32 pkgs.vimPlugins.Recover-vim
33 #pkgs.vimPlugins.syntastic
34 #pkgs.vimPlugins.The_NERD_tree
35 pkgs.vimPlugins.vim-dirvish
36 pkgs.vimPlugins.vim-buffergator
37 pkgs.vimPlugins.vim-markdown
38 pkgs.vimPlugins.vimproc
39 #pkgs.vimPlugins.fugitive
40 pkgs.vimPlugins.vim-ghcid-quickfix
42 packageConfigurable = pkgs.vim_configurable.override {
43 config.vim.gui = if config.host.desktop then "gtk3" else "none";
48 readFile vim/init.vim +
51 #pkgs.vimPlugins.vim-lsc
52 pkgs.vimPlugins.gitgutter
53 #pkgs.vimPlugins.nvim-yarp
54 #pkgs.vimPlugins.deoplete-nvim
55 #pkgs.vimPlugins.deoplete-lsp
56 #pkgs.vimPlugins.LanguageClient-neovim
57 #pkgs.vimPlugins.fzf-vim
58 #pkgs.vimPlugins.echodoc
60 #pkgs.vimPlugins.indentLine
61 #pkgs.vimPlugins.vim-indent-guides
62 #pkgs.vimPlugins.coc-nvim
63 #pkgs.vimPlugins.coc-diagnostic
64 #pkgs.vimPlugins.coc-json
65 #pkgs.vimPlugins.coc-lists
66 pkgs.vimPlugins.easy-align
67 pkgs.vimPlugins.hoogle
68 pkgs.vimPlugins.Recover-vim
69 #pkgs.vimPlugins.syntastic
70 #pkgs.vimPlugins.The_NERD_tree
71 pkgs.vimPlugins.vim-dirvish
72 pkgs.vimPlugins.vim-buffergator
73 pkgs.vimPlugins.vim-markdown
74 pkgs.vimPlugins.vimproc
75 #pkgs.vimPlugins.fugitive
78 } /* // lib.optionalAttrs (!config.useGlobalPkgs) {
79 nixpkgs.config.vim.gui = if config.host.desktop then "gtk3" else "";