From 2eb0760f02a2a821a5d774f70521b6c16426639d Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Thu, 11 Dec 2025 21:03:34 +0530 Subject: Splitted nixvim config into different modules --- modules/tools/nixvim/plugins/nvim-tree.nix | 45 ++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 modules/tools/nixvim/plugins/nvim-tree.nix (limited to 'modules/tools/nixvim/plugins/nvim-tree.nix') diff --git a/modules/tools/nixvim/plugins/nvim-tree.nix b/modules/tools/nixvim/plugins/nvim-tree.nix new file mode 100644 index 0000000..9e2e55e --- /dev/null +++ b/modules/tools/nixvim/plugins/nvim-tree.nix @@ -0,0 +1,45 @@ +{ config, lib, ... }: + +{ + config.programs.nixvim.plugins.nvim-tree = lib.mkIf config.tools.nixvim.enable { + enable = true; + settings = { + filters = { + dotfiles = false; + git_clean = false; + no_buffer = false; + custom = {}; + }; + git = { + enable = true; + ignore = false; + }; + view = { + width = { + padding = 0; + }; + }; + renderer = { + indent_markers = { + enable = true; + inline_arrows = false; + icons = { + corner = "└"; + edge = "│"; + item = "├"; + bottom = "─"; + none = " "; + }; + }; + icons = { + show = { + folder = true; + folder_arrow = false; + file = true; + git = true; + }; + }; + }; + }; + }; +} -- cgit v1.2.3