blob: 7efccf1ec6739d90767a49806f8a95d1d5c03d44 (
plain)
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
50
51
52
53
54
55
56
57
|
{pkgs, ...}: {
programs.neovim = {
enable = true;
defaultEditor = true;
extraPackages = with pkgs; [
alejandra
codespell
deadnix
llvmPackages_15.clang
llvmPackages_15.libclang
nodePackages.alex
nodePackages.bash-language-server
nodePackages.prettier
nodePackages.pyright
pylint
rust-analyzer
rustfmt
shellcheck
statix
stylua
sumneko-lua-language-server
yapf
];
plugins = with pkgs.vimPlugins; [
barbar-nvim
catppuccin-nvim
cmp-nvim-lsp
cmp-buffer
cmp_luasnip
cmp-path
cmp-vsnip
editorconfig-nvim
gitsigns-nvim
leap-nvim
lualine-nvim
luasnip
nvim-cmp
nvim-lspconfig
null-ls-nvim
nvim-tree-lua
nvim-treesitter.withAllGrammars
nvim-web-devicons
plenary-nvim
telescope-nvim
trouble-nvim
vim-vsnip
];
extraLuaConfig = ''
require("getchoo")
'';
};
xdg.configFile."nvim/lua/getchoo" = {
source = ./config;
recursive = true;
};
}
|