plugins/explorer: bump nvim-tree plugin

This commit is contained in:
Dmitriy Pleshevskiy 2022-10-19 11:21:25 +03:00
parent 5225154c6c
commit cf97347ae5
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
3 changed files with 8 additions and 6 deletions

View file

@ -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"
}
},

View file

@ -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;
};

View file

@ -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", "<leader>nt", "<Cmd>NvimTreeToggle<CR>")
vim.keymap.set("n", "<leader>nf", "<Cmd>NvimTreeFindFile<CR>")