From a6dc4080325a5189e5ddc3b2eb777ef5805eef6f Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Fri, 21 Apr 2023 09:22:03 +0100 Subject: [PATCH] Add direnv plugin for nvim --- config/nvim/lua/plugins/direnv.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 config/nvim/lua/plugins/direnv.lua diff --git a/config/nvim/lua/plugins/direnv.lua b/config/nvim/lua/plugins/direnv.lua new file mode 100644 index 00000000..a15276b1 --- /dev/null +++ b/config/nvim/lua/plugins/direnv.lua @@ -0,0 +1,9 @@ +return { + "https://github.com/direnv/direnv.vim.git", + name = "direnv.vim", + lazy = false, + config = function() + vim.g.direnv_auto = 1 + vim.g.direnv_silent_load = 1 + end, +}