blob: 413ca8f336e373cd52cd51ea0964558079dae810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{ pkgs, ... }:
{
programs.neovim = {
enable = true;
defaultEditor = true;
vimAlias = true;
# Never write ~/.config/nvim/init.lua ourselves - that path is owned by
# the externally-managed dotfiles config (lazy.nvim + plugins), stowed
# in separately. Without this, home-manager's own generated init.lua
# permanently conflicts with that stow package and it gets skipped.
sideloadInitLua = true;
};
# tree-sitter (parser compilation) and a C compiler for natively-built
# Neovim plugins declared by the dotfiles-owned config above.
home.packages = with pkgs; [
tree-sitter
stdenv.cc
];
}
|