Skip to content

Commit

Permalink
fix: neovim onChange temporarily disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Nov 30, 2023
1 parent dffdd1c commit 2680bcc
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modules/home/cli-apps/neovim/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2680bcc

Please sign in to comment.