blob: 7f0ea83d8e62d7ed60b56472ea8c6bc2d710c935 (
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
|
{ pkgs }:
# Using the unstable wrapper because it honors `wrapRc = false`,
# which `neovim.override` and `wrapNeovim` disregard (they always set VIMINIT).
pkgs.wrapNeovimUnstable pkgs.neovim-unwrapped {
vimAlias = true;
wrapRc = false;
plugins = with pkgs.vimPlugins; [
mini-pick
vscode-nvim
# neovim has no syntax highlighting for Svelte by default
# and nvim-treesitter also provides good auto-indentation.
(nvim-treesitter.withPlugins (p: with p; [
css
html
javascript
nix
svelte
typescript
]))
# For LSP. Language servers are installed in ../dev.nix.
nvim-lspconfig
blink-cmp
];
}
|