From 2680bcc8c3ef8b7861552749c7e918aa9e7b9e25 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Thu, 30 Nov 2023 16:04:03 -0600 Subject: [PATCH] fix: neovim onChange temporarily disabled --- modules/home/cli-apps/neovim/default.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/home/cli-apps/neovim/default.nix b/modules/home/cli-apps/neovim/default.nix index 40549210a..25bcdb3e9 100644 --- a/modules/home/cli-apps/neovim/default.nix +++ b/modules/home/cli-apps/neovim/default.nix @@ -81,9 +81,10 @@ in extraPython3Packages = ps: [ ps.pip ]; }; + # TODO: setup onchange to either be after sops-nix or not load wakatime in headless xdg.configFile = { "astronvim" = { - onChange = "NVIM_APPNAME=astronvim ${getExe pkgs.neovim} --headless \"+Lazy! sync\" +qa"; + # onChange = "NVIM_APPNAME=astronvim ${getExe pkgs.neovim} --headless \"+Lazy! sync\" +qa"; source = lib.cleanSourceWith { filter = name: _type: let @@ -95,7 +96,7 @@ in recursive = true; }; "lazyvim" = { - onChange = "NVIM_APPNAME=lazyvim ${getExe pkgs.neovim} --headless \"+Lazy! sync\" +qa"; + # onChange = "NVIM_APPNAME=lazyvim ${getExe pkgs.neovim} --headless \"+Lazy! sync\" +qa"; source = lib.cleanSourceWith { filter = name: _type: let @@ -107,7 +108,7 @@ in recursive = true; }; "lunarvim" = { - onChange = "NVIM_APPNAME=lunarvim ${getExe pkgs.neovim} --headless \"+Lazy! sync\" +qa"; + # onChange = "NVIM_APPNAME=lunarvim ${getExe pkgs.neovim} --headless \"+Lazy! sync\" +qa"; source = lib.cleanSourceWith { filter = name: _type: let @@ -120,7 +121,7 @@ in }; # TODO: Convert to custom nixos neovim config "nvim" = { - onChange = "${getExe pkgs.neovim} --headless \"+Lazy! sync\" +qa"; + # onChange = "${getExe pkgs.neovim} --headless \"+Lazy! sync\" +qa"; source = lib.cleanSourceWith { filter = name: _type: let