mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-10 15:35:30 +00:00
feat(visuals): Update and configurations
This commit is contained in:
parent
8e2ea2bbfc
commit
ad95175224
3 changed files with 34 additions and 25 deletions
|
|
@ -14,17 +14,19 @@ in {
|
|||
vim.wo.colorcolumn = "99999"
|
||||
vim.opt.list = true
|
||||
|
||||
${optionalString (cfg.indentBlankline.eolChar != "") ''
|
||||
${optionalString (cfg.indentBlankline.eolChar != null) ''
|
||||
vim.opt.listchars:append({ eol = "${cfg.indentBlankline.eolChar}" })
|
||||
''}
|
||||
${optionalString (cfg.indentBlankline.fillChar != "") ''
|
||||
vim.opt.listchars:append({ eol = "${cfg.indentBlankline.fillChar}" })
|
||||
${optionalString (cfg.indentBlankline.fillChar != null) ''
|
||||
vim.opt.listchars:append({ space = "${cfg.indentBlankline.fillChar}" })
|
||||
''}
|
||||
|
||||
require("indent_blankline").setup {
|
||||
enabled = true,
|
||||
char = "${cfg.indentBlankline.listChar}",
|
||||
show_current_context = ${boolToString cfg.indentBlankline.showCurrContext},
|
||||
show_end_of_line = true,
|
||||
show_end_of_line = ${boolToString cfg.indentBlankline.showEndOfLine},
|
||||
use_treesitter = ${boolToString cfg.indentBlankline.useTreesitter},
|
||||
}
|
||||
'';
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue