feat(nvim): add direnv.nvim

This commit is contained in:
Price Hiller 2024-10-21 15:47:21 -05:00
parent 1ebe3e50b4
commit 8988caf18f
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,13 @@
return {
{
"actionshrimp/direnv.nvim",
lazy = false,
config = function()
local direnv = require("direnv-nvim")
-- TODO: Make this properly restart LSP clients as necessary
direnv.setup({
async = true,
})
end,
},
}

View File

@ -161,6 +161,7 @@ return {
{
"neovim/nvim-lspconfig",
dependencies = {
"actionshrimp/direnv.nvim", -- This ensures that direnv is loaded first
"williamboman/mason.nvim",
"Decodetalkers/csharpls-extended-lsp.nvim",
{