~cyplo/dotfiles

ref: 83ddcc09dc68389b129d598722eca9e90a6dff33 dotfiles/nixos/home-manager/programs/vim.nix -rw-r--r-- 947 bytes
83ddcc09 — Cyryl PÅ‚otnicki remove broken i3 msg call 29 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ config, pkgs, ... }:
{
  home.file.".vimrc".source = /home/cyryl/dev/dotfiles/.vimrc.nixos;
  programs.neovim = {
    enable = true;
    viAlias = true;
    vimAlias = true;
    vimdiffAlias = true;
    withNodeJs = true;
    withPython3 = true;
    withRuby = true;

    plugins = with pkgs.vimPlugins; [
      ack-vim
      coc-highlight
      coc-nvim
      coc-rust-analyzer
      ctrlp-vim
      editorconfig-vim
      fzf-vim
      nerdtree
      nerdtree-git-plugin
      quickfix-reflector-vim
      rainbow
      tabular
      vim-airline
      vim-airline-themes
      vim-autoformat
      vim-colors-solarized
      vim-devicons
      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
    '';
  };
}