-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathneovim.nix
46 lines (46 loc) · 875 Bytes
/
neovim.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
pkgs:
pkgs.wrapNeovim pkgs.neovim-unwrapped {
configure = {
customRC = ''
lua << EOF
${builtins.readFile ./init.lua}
EOF
let g:rooter_patterns = ['.git']
'';
packages.myVimPackage = with pkgs.vimPlugins; {
start = [
telescope-nvim
plenary-nvim
vim-rooter
nord-nvim
kanagawa-nvim
(nvim-treesitter.withPlugins (
p: with p; [
c
cpp
go
javascript
just
kdl
nix
python
ruby
sql
terraform
typescript
zig
]
))
vim-fugitive
nvim-lspconfig
nvim-cmp
cmp-buffer
cmp-path
cmp-nvim-lsp
cmp-nvim-lua
nerdtree
templ-vim
];
};
};
}