diff --git a/flake.lock b/flake.lock index 803fa7b..c69bddb 100644 --- a/flake.lock +++ b/flake.lock @@ -1246,6 +1246,7 @@ "plugin-mind-nvim": "plugin-mind-nvim", "plugin-minimap-vim": "plugin-minimap-vim", "plugin-modes-nvim": "plugin-modes-nvim", + "plugin-neo-tree-nvim": "plugin-neo-tree-nvim", "plugin-neocord": "plugin-neocord", "plugin-neodev-nvim": "plugin-neodev-nvim", "plugin-noice-nvim": "plugin-noice-nvim", @@ -1305,16 +1306,16 @@ "zig": "zig" }, "locked": { - "lastModified": 1713136497, - "narHash": "sha256-a+cfrPGNBeF86t2riyv5EKt/ZdKsjnHrRqj9R4w8hoM=", + "lastModified": 1713467798, + "narHash": "sha256-W3SL74/W25NJa2gNw/jJvdgKAxVjSLmnVrQj1FrRFfc=", "owner": "NotAShelf", "repo": "neovim-flake", - "rev": "522a1b9310d652e9235f6930dc23f43de043f88e", + "rev": "a6bb6c3e9180faadbd180d798e2f42ef7add533c", "type": "github" }, "original": { "owner": "NotAShelf", - "ref": "v0.6", + "ref": "plugin/neotree", "repo": "neovim-flake", "type": "github" } @@ -2623,6 +2624,22 @@ "type": "github" } }, + "plugin-neo-tree-nvim": { + "flake": false, + "locked": { + "lastModified": 1713050882, + "narHash": "sha256-cZwOVpdMT0NCtp6Ha592QA2RzKVS6LhXXcjfDBCQ+0k=", + "owner": "nvim-neo-tree", + "repo": "neo-tree.nvim", + "rev": "22e566aeb075c94f670f34077e05ba95190dfb4a", + "type": "github" + }, + "original": { + "owner": "nvim-neo-tree", + "repo": "neo-tree.nvim", + "type": "github" + } + }, "plugin-neocord": { "flake": false, "locked": { diff --git a/flake.nix b/flake.nix index 6587fe3..bbf0692 100644 --- a/flake.nix +++ b/flake.nix @@ -92,7 +92,7 @@ }; neovim-flake = { - url = "github:NotAShelf/neovim-flake/v0.6"; + url = "github:NotAShelf/neovim-flake/plugin/neotree"; inputs.nixpkgs.follows = "nixpkgs"; }; diff --git a/modules/tui/neovim.nix b/modules/tui/neovim.nix index 6776e0f..eb9d388 100644 --- a/modules/tui/neovim.nix +++ b/modules/tui/neovim.nix @@ -42,8 +42,7 @@ in { maps = { normal = { "v" = { - # action = "Neotree toggle"; - action = "NvimTreeToggle"; + action = "Neotree toggle"; silent = true; }; "m" = { @@ -53,9 +52,8 @@ in { }; }; - filetree.nvimTree = { + filetree.neo-tree = { enable = true; - openOnSetup = false; }; statusline.lualine = {