diff --git a/modules/filetree/nvimtree-lua/config.nix b/modules/filetree/nvimtree-lua/config.nix index 29293944..6450ef8d 100644 --- a/modules/filetree/nvimtree-lua/config.nix +++ b/modules/filetree/nvimtree-lua/config.nix @@ -79,7 +79,9 @@ in { width = ${toString cfg.view.width}, side = ${"'" + cfg.view.side + "'"}, adaptive_size = ${boolToString cfg.view.adaptiveSize}, + cursorline = ${boolToString cfg.view.cursorLine} }, + git = { enable = ${boolToString cfg.git.enable}, ignore = ${boolToString cfg.git.ignore}, diff --git a/modules/filetree/nvimtree-lua/nvimtree-lua.nix b/modules/filetree/nvimtree-lua/nvimtree-lua.nix index e2d63a73..c7822457 100644 --- a/modules/filetree/nvimtree-lua/nvimtree-lua.nix +++ b/modules/filetree/nvimtree-lua/nvimtree-lua.nix @@ -182,6 +182,11 @@ with builtins; { description = "Width of the tree in charecters"; type = types.int; }; + cursorLine = mkOption { + default = false; + description = "Whether to display the cursor line in NvimTree"; + type = types.bool; + }; }; git = {