Skip to content

Commit

Permalink
Fix(direnv) update direnv when changing working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
Gako358 committed Nov 1, 2024
1 parent f668399 commit eb263a8
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
17 changes: 17 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@
url = "github:Shatur/neovim-session-manager";
flake = false;
};
plugins-direnv = {
url = "github:NotAShelf/direnv.nvim";
flake = false;
};

# Autocompletes
plugins-nvim-cmp = {
Expand Down
4 changes: 4 additions & 0 deletions modules/project/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ in {
vim.startPlugins = [
"project"
"session"
"direnv"
];

vim.luaConfigRC.sql =
Expand All @@ -39,6 +40,9 @@ in {
}
}
require("session_manager").setup{}
require("direnv").setup({
autoload_direnv = true,
})
'';
};
}

0 comments on commit eb263a8

Please sign in to comment.