fix(nvimtree-lua): disable cursor-line to false

This commit is contained in:
NotAShelf 2023-05-19 14:58:00 +03:00
parent 498e8b7c80
commit 30f02163d2
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
2 changed files with 7 additions and 0 deletions

View file

@ -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},

View file

@ -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 = {