mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-11 07:55:31 +00:00
fix: cursorline configuration
This commit is contained in:
parent
b68c0e32e7
commit
d126519514
3 changed files with 17 additions and 6 deletions
|
|
@ -31,10 +31,15 @@ in {
|
|||
'';
|
||||
})
|
||||
|
||||
(mkIf cfg.cursorWordline.enable {
|
||||
(mkIf cfg.cursorline.enable {
|
||||
vim.startPlugins = ["nvim-cursorline"];
|
||||
vim.luaConfigRC.cursorline = nvim.dag.entryAnywhere ''
|
||||
vim.g.cursorline_timeout = ${toString cfg.cursorWordline.lineTimeout}
|
||||
require('nvim-cursorline').setup {
|
||||
cursorline = {
|
||||
timeout = ${toString cfg.cursorline.lineTimeout},
|
||||
number = ${boolToString (!cfg.cursorline.lineNumbersOnly)},
|
||||
}
|
||||
}
|
||||
'';
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue