mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 10:59:49 +01: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