mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-09 03:56:05 +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 =
|
example-keymap-string =
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
extraPlugins = optionalPlugins [ pkgs.vimPlugins.neo-tree-nvim ];
|
extraPlugins = optionalPlugins [ pkgs.vimPlugins.nvim-tree-lua ];
|
||||||
|
|
||||||
plugins.lz-n = {
|
plugins.lz-n = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [
|
plugins = [
|
||||||
{
|
{
|
||||||
__unkeyed-1 = "neo-tree.nvim";
|
__unkeyed-1 = "nvim-tree.lua";
|
||||||
enabled = ''
|
enabled = ''
|
||||||
function()
|
function()
|
||||||
return true
|
return true
|
||||||
|
|
@ -182,7 +182,7 @@ in
|
||||||
after = # lua
|
after = # lua
|
||||||
''
|
''
|
||||||
function()
|
function()
|
||||||
require("neo-tree").setup()
|
require("nvim-tree").setup({})
|
||||||
end
|
end
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
@ -190,11 +190,11 @@ in
|
||||||
|
|
||||||
keymaps = [
|
keymaps = [
|
||||||
{
|
{
|
||||||
action = "<CMD>Neotree toggle<CR>";
|
action = "<CMD>NvimTreeToggle<CR>";
|
||||||
key = "<leader>ft";
|
key = "<leader>ft";
|
||||||
mode = "";
|
mode = "";
|
||||||
options.desc = "NeoTree toggle";
|
options.desc = "NvimTree toggle";
|
||||||
plugin = "neo-tree.nvim";
|
plugin = "nvim-tree.lua";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue