vim: nvim-tree

This commit is contained in:
Casper V. Kristensen 2024-08-26 00:41:05 +02:00
parent cbcfd39229
commit 410ee7c345

View file

@ -842,6 +842,25 @@
require("lualine").setup({}) require("lualine").setup({})
''; '';
} }
# A File Explorer For Neovim Written In Lua.
# https://github.com/nvim-tree/nvim-tree.lua
{
plugin = nvim-tree-lua;
type = "lua";
config =
# lua
''
require("nvim-tree").setup({
filters = {
custom = {
"^\\.git",
},
},
})
vim.keymap.set("n", "<Leader>e", vim.cmd.NvimTreeToggle)
'';
}
]; ];
extraPackages = [ extraPackages = [
nixpkgs-unstable.legacyPackages.${pkgs.system}.basedpyright nixpkgs-unstable.legacyPackages.${pkgs.system}.basedpyright