-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnvim.nix
140 lines (123 loc) · 2.67 KB
/
nvim.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
config,
pkgs,
lib,
username,
stateVersion,
saepfigsDirectory,
...
}:
{
home.username = username;
home.homeDirectory = "/home/${username}";
home.stateVersion = stateVersion;
xdg.configFile."nvim/".source =
config.lib.file.mkOutOfStoreSymlink "/home/${username}/${saepfigsDirectory}/nvim/";
catppuccin.nvim.enable = false; # incompatible with how I configure neovim
programs = {
neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
vimdiffAlias = true;
plugins = with pkgs.vimPlugins; [
catppuccin-nvim
luasnip
cmp-buffer
cmp-cmdline
cmp-conjure
cmp_luasnip
cmp-nvim-lsp
cmp-nvim-lua
cmp-path
conform-nvim
conjure
diffview-nvim
fzf-lua # for neogit
image-nvim
leap-nvim
lualine-nvim
mini-nvim
neodev-nvim
neogit
nvim-colorizer-lua
nvim-cmp
nvim-dap
one-small-step-for-vimkind
nvim-dap-ui
nvim-lint
nvim-lspconfig
nvim-surround
(nvim-treesitter.withPlugins (_: nvim-treesitter.allGrammars))
nvim-treesitter-context
nvim-ts-autotag
nvim-web-devicons
oil-nvim
rest-nvim
plenary-nvim
rainbow-delimiters-nvim
render-markdown-nvim
snacks-nvim
telescope-nvim
telescope-fzf-native-nvim
telescope-ui-select-nvim
text-case-nvim
vim-exchange
vim-dadbod
vim-dadbod-ui
vim-dadbod-completion
vim-repeat
vim-sexp
vim-sexp-mappings-for-regular-people
vim-speeddating
vim-visual-multi
which-key-nvim
twilight-nvim
];
extraPackages = with pkgs; [
curl
jq
yq
fzf
tree-sitter
# bash/shell
shellcheck
nodePackages.bash-language-server
# html/css
nodePackages.vscode-langservers-extracted
# json
nodePackages.vscode-json-languageserver
# markdown
comrak
#rust
evcxr
lldb
# scheme
mitscheme
# nix
nixd
nixfmt-rfc-style
# lua
sumneko-lua-language-server
lua51Packages.jsregexp
stylua
# go
gcc # tests can't be run without it
go
gofumpt
gopls
# clojure
clojure
clojure-lsp
# postgresql
pgformatter
# spell and gramar checker
vale
# postgres
pgformatter
imagemagick
];
};
};
}