From 97a3e5f6e4ab2c6bfd699a620ac9d69f10091b12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Geoffrey=20=E2=80=9CFrogeye=E2=80=9D=20Preud=27homme?= Date: Sat, 20 Jan 2024 19:04:06 +0100 Subject: [PATCH] vim: Fix Reload command --- hm/desktop/default.nix | 2 ++ hm/vim/default.nix | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hm/desktop/default.nix b/hm/desktop/default.nix index fa2fd34..c5ef06a 100644 --- a/hm/desktop/default.nix +++ b/hm/desktop/default.nix @@ -144,6 +144,8 @@ in # misc gnome.gedit + xfce.thunar + nomacs feh zbar zathura diff --git a/hm/vim/default.nix b/hm/vim/default.nix index b4d862d..a963a13 100644 --- a/hm/vim/default.nix +++ b/hm/vim/default.nix @@ -104,8 +104,6 @@ " Avoid showing message extra message when using completion set shortmess+=c - command Reload source $MYVIMRC - " PLUGINS '' + lib.optionalString config.programs.pandoc.enable '' " vim-pandox @@ -120,8 +118,8 @@ ]; userCommands = { - # Reload = { command = "source $MYVIRMC"; }; - # TODO Is not working, options is set to nil even though it shouldn't + Reload = { command = "source ${config.xdg.configHome}/nvim/init.lua"; force = false; }; + # 24.05 force=false was for https://github.com/nix-community/nixvim/issues/954 }; keymaps = [