feat(nvim): add direnv.nvim
This commit is contained in:
parent
1ebe3e50b4
commit
8988caf18f
13
users/price/dots/.config/nvim/lua/plugins/configs/direnv.lua
Normal file
13
users/price/dots/.config/nvim/lua/plugins/configs/direnv.lua
Normal 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,
|
||||||
|
},
|
||||||
|
}
|
@ -161,6 +161,7 @@ return {
|
|||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
|
"actionshrimp/direnv.nvim", -- This ensures that direnv is loaded first
|
||||||
"williamboman/mason.nvim",
|
"williamboman/mason.nvim",
|
||||||
"Decodetalkers/csharpls-extended-lsp.nvim",
|
"Decodetalkers/csharpls-extended-lsp.nvim",
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user