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

This commit is contained in:
NotAShelf 2023-05-19 14:58:00 +03:00
parent d2fab111de
commit 0a7f9865f1
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}, width = ${toString cfg.view.width},
side = ${"'" + cfg.view.side + "'"}, side = ${"'" + cfg.view.side + "'"},
adaptive_size = ${boolToString cfg.view.adaptiveSize}, adaptive_size = ${boolToString cfg.view.adaptiveSize},
cursorline = ${boolToString cfg.view.cursorLine}
}, },
git = { git = {
enable = ${boolToString cfg.git.enable}, enable = ${boolToString cfg.git.enable},
ignore = ${boolToString cfg.git.ignore}, ignore = ${boolToString cfg.git.ignore},

View file

@ -182,6 +182,11 @@ with builtins; {
description = "Width of the tree in charecters"; description = "Width of the tree in charecters";
type = types.int; type = types.int;
}; };
cursorLine = mkOption {
default = false;
description = "Whether to display the cursor line in NvimTree";
type = types.bool;
};
}; };
git = { git = {