1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

tests/plugins/pluginmanagers: use nvim-tree instead of neo-tree

neo-tree tries to write in a logfile which is quite annoying
This commit is contained in:
Gaetan Lepage 2025-10-05 01:33:35 +02:00 committed by Austin Horstman
parent e5c6d9337a
commit e45e9214dc

View file

@ -167,13 +167,13 @@ in
example-keymap-string =
{ pkgs, ... }:
{
extraPlugins = optionalPlugins [ pkgs.vimPlugins.neo-tree-nvim ];
extraPlugins = optionalPlugins [ pkgs.vimPlugins.nvim-tree-lua ];
plugins.lz-n = {
enable = true;
plugins = [
{
__unkeyed-1 = "neo-tree.nvim";
__unkeyed-1 = "nvim-tree.lua";
enabled = ''
function()
return true
@ -182,7 +182,7 @@ in
after = # lua
''
function()
require("neo-tree").setup()
require("nvim-tree").setup({})
end
'';
}
@ -190,11 +190,11 @@ in
keymaps = [
{
action = "<CMD>Neotree toggle<CR>";
action = "<CMD>NvimTreeToggle<CR>";
key = "<leader>ft";
mode = "";
options.desc = "NeoTree toggle";
plugin = "neo-tree.nvim";
options.desc = "NvimTree toggle";
plugin = "nvim-tree.lua";
}
];
};