aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/editor.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/home/editor.nix')
-rw-r--r--modules/home/editor.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/home/editor.nix b/modules/home/editor.nix
index b687552..413ca8f 100644
--- a/modules/home/editor.nix
+++ b/modules/home/editor.nix
@@ -1,7 +1,20 @@
1{ pkgs, ... }:
1{ 2{
2 programs.neovim = { 3 programs.neovim = {
3 enable = true; 4 enable = true;
4 defaultEditor = true; 5 defaultEditor = true;
5 vimAlias = true; 6 vimAlias = true;
7 # Never write ~/.config/nvim/init.lua ourselves - that path is owned by
8 # the externally-managed dotfiles config (lazy.nvim + plugins), stowed
9 # in separately. Without this, home-manager's own generated init.lua
10 # permanently conflicts with that stow package and it gets skipped.
11 sideloadInitLua = true;
6 }; 12 };
13
14 # tree-sitter (parser compilation) and a C compiler for natively-built
15 # Neovim plugins declared by the dotfiles-owned config above.
16 home.packages = with pkgs; [
17 tree-sitter
18 stdenv.cc
19 ];
7} 20}