aboutsummaryrefslogtreecommitdiffstats
path: root/home/sadbeast/features/vim.nix
blob: 5bad38b7ffbdb0fd0cf791585f4ed599167284c9 (plain) (blame)
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
49
{pkgs, ...}: {
  programs.vim = {
    enable = true;
    defaultEditor = true;

    plugins = with pkgs.vimPlugins; [
      ale
      asyncomplete-vim
      asyncomplete-lsp-vim
      asyncrun-vim
      base16-vim
      copilot-vim
      lightline-vim
      # lightline-ale
      lightline-lsp
      fugitive
      fzf-vim
      vim-commentary
      vim-dadbod
      vim-dispatch
      vim-dotenv
      vim-eunuch
      vim-lsp
      vim-lsp-ale
      vim-lsp-settings
      vim-mustache-handlebars
      vimspector
      vim-rails
      vim-rhubarb
      vim-signify
      vim-test
      vim-wayland-clipboard
      vim-vsnip
      vim-vsnip-integ
      zig-vim
    ];

    settings = {
      hidden = true;
      ignorecase = true;
      # mouse = "a";
      number = true;
      relativenumber = true;
      smartcase = true;
    };

    extraConfig = builtins.readFile ./vimrc;
  };
}