mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
feat: customizable cursorline option
This commit is contained in:
parent
2cb1e3b110
commit
6e21655c3f
2 changed files with 10 additions and 6 deletions
|
@ -14,7 +14,9 @@ in {
|
|||
];
|
||||
|
||||
vim.luaConfigRC.modes-nvim = nvim.dag.entryAnywhere ''
|
||||
require('modes').setup()
|
||||
require('modes').setup({
|
||||
set_cursorline = ${boolToString cfg.setCursorline}, -- looks ugly
|
||||
})
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,11 +1,13 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{lib, ...}:
|
||||
with lib;
|
||||
with builtins; {
|
||||
options.vim.ui.modes-nvim = {
|
||||
enable = mkEnableOption "modes.nvim's prismatic line decorations";
|
||||
|
||||
setCursorline = mkOption {
|
||||
type = types.bool;
|
||||
description = "Set a colored cursorline on current line";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue