From 2a70edb4393a8da32076867c39659a0ebb13adf2 Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 3 Dec 2020 16:57:49 +0100 Subject: vim: create the backup directory --- common/vim.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'common') diff --git a/common/vim.nix b/common/vim.nix index ddb901a..821d43b 100644 --- a/common/vim.nix +++ b/common/vim.nix @@ -115,5 +115,15 @@ in { environment.sessionVariables = { EDITOR = "nvim"; }; + + home-manager.users.minijackson = { ... }: + { + xdg.dataFile."nvim/backup/.keep".text = ""; + }; + + home-manager.users.root = { ... }: + { + xdg.dataFile."nvim/backup/.keep".text = ""; + }; }; } -- cgit v1.2.3