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:
parent
e5c6d9337a
commit
e45e9214dc
1 changed files with 6 additions and 6 deletions
|
|
@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue