aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/nixvim/plugins/nvim-tree.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-12-11 21:03:34 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-12-11 21:03:34 +0530
commit2eb0760f02a2a821a5d774f70521b6c16426639d (patch)
treea86ecfa0a4fcdebaa636eabaaa231d22841ad099 /modules/tools/nixvim/plugins/nvim-tree.nix
parent54142dba0991ecbe3031ef532d0a379ee3c58871 (diff)
downloadhome-manager-config-2eb0760f02a2a821a5d774f70521b6c16426639d.tar.gz
home-manager-config-2eb0760f02a2a821a5d774f70521b6c16426639d.zip
Splitted nixvim config into different modules
Diffstat (limited to 'modules/tools/nixvim/plugins/nvim-tree.nix')
-rw-r--r--modules/tools/nixvim/plugins/nvim-tree.nix45
1 files changed, 45 insertions, 0 deletions
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;
+ };
+ };
+ };
+ };
+ };
+}