diff --git a/flake.lock b/flake.lock index 25dd065..2064f4f 100644 --- a/flake.lock +++ b/flake.lock @@ -206,17 +206,17 @@ "nvim-tree-lua": { "flake": false, "locked": { - "lastModified": 1664848690, - "narHash": "sha256-+PQBpPEgFHU1YW6OwcjJPdDrm1fMmHw5bzyBzuqZuNI=", + "lastModified": 1666052075, + "narHash": "sha256-huu6j5zrHaY6h4s9sDcHprdOtpyxu3YoZ9hDm1REb2I=", "owner": "kyazdani42", "repo": "nvim-tree.lua", - "rev": "1cf428ae676fd0f37ed3acff6f36a934521493ca", + "rev": "3a2f68b9d53fdf360beba222022868c527ae4d8a", "type": "github" }, "original": { "owner": "kyazdani42", "repo": "nvim-tree.lua", - "rev": "1cf428ae676fd0f37ed3acff6f36a934521493ca", + "rev": "3a2f68b9d53fdf360beba222022868c527ae4d8a", "type": "github" } }, diff --git a/flake.nix b/flake.nix index 8ecb7ca..0f09940 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,7 @@ # https://github.com/kyazdani42/nvim-tree.lua nvim-tree-lua = { - url = "github:kyazdani42/nvim-tree.lua?rev=1cf428ae676fd0f37ed3acff6f36a934521493ca"; + url = "github:kyazdani42/nvim-tree.lua?rev=3a2f68b9d53fdf360beba222022868c527ae4d8a"; flake = false; }; diff --git a/plugins/explorer/nvim-tree.lua b/plugins/explorer/nvim-tree.lua index 7892fbc..fcf184c 100644 --- a/plugins/explorer/nvim-tree.lua +++ b/plugins/explorer/nvim-tree.lua @@ -1,7 +1,9 @@ -- See: https://github.com/kyazdani42/nvim-tree.lua/blob/master/doc/nvim-tree-lua.txt -- empty setup using defaults -require("nvim-tree").setup() +require("nvim-tree").setup({ + open_on_setup = true, +}) vim.keymap.set("n", "nt", "NvimTreeToggle") vim.keymap.set("n", "nf", "NvimTreeFindFile")