-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvim.nix
49 lines (47 loc) · 1 KB
/
vim.nix
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, ... }:
let
vim-dim = pkgs.vimUtils.buildVimPlugin {
name = "vim-dim";
src = pkgs.fetchFromGitHub {
owner = "jeffkreeftmeijer";
repo = "vim-dim";
rev = "8320a40f12cf89295afc4f13eb10159f29c43777";
sha256 = "sha256-sDt3gvf+/8OQ0e0W6+IinONQZ9HiUKTbr+RZ2CfJ3FY";
};
};
in
{
programs.neovim = {
enable = true;
configure = {
customRC = ''
colorscheme dim
'';
packages.myVimPackage = {
start = with pkgs.vimPlugins; [
gitgutter
tagbar
nerdtree
vim-dim
# async syntax checker w/ LSP support
# https://github.com/dense-analysis/ale
ale
# languages
vim-nix
## doc
plantuml-syntax
vim-markdown
## infra
vim-terraform
## web
vim-javascript
vim-jsx-pretty
typescript-vim
];
};
};
viAlias = true;
vimAlias = true;
withRuby = true;
};
}