From 03e4b4d25c7d508cbb63ebba3c05c70b05ee2468 Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 27 Jun 2023 10:15:04 +0200 Subject: [PATCH] fix(nvim): setup auto-session --- home-manager/neovim/auto-session.lua | 3 +++ home-manager/neovim/default.nix | 1 + 2 files changed, 4 insertions(+) create mode 100644 home-manager/neovim/auto-session.lua diff --git a/home-manager/neovim/auto-session.lua b/home-manager/neovim/auto-session.lua new file mode 100644 index 0000000..a3dc5d9 --- /dev/null +++ b/home-manager/neovim/auto-session.lua @@ -0,0 +1,3 @@ +require("auto-session").setup { + log_level = "error", +} diff --git a/home-manager/neovim/default.nix b/home-manager/neovim/default.nix index dc2fb7b..fdba23b 100644 --- a/home-manager/neovim/default.nix +++ b/home-manager/neovim/default.nix @@ -165,6 +165,7 @@ in ${builtins.readFile ./commands.lua } ${builtins.readFile ./treesitter.lua } ${builtins.readFile ./lspconfig.lua } + ${builtins.readFile ./auto-session.lua } ${builtins.readFile ./toggleterm.lua } ${builtins.readFile ./notify.lua } ${builtins.readFile ./comment.lua }