mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-11 04:33:29 +00:00
feat: add fidget.nvim to visual plugins
This commit is contained in:
parent
ea7bd48a22
commit
db7aa94161
4 changed files with 40 additions and 0 deletions
|
@ -44,6 +44,11 @@ in {
|
|||
then "cellular-automaton"
|
||||
else null
|
||||
)
|
||||
(
|
||||
if cfg.fidget-nvim.enable
|
||||
then "fidget-nvim"
|
||||
else null
|
||||
)
|
||||
];
|
||||
|
||||
vim.luaConfigRC.visuals = nvim.dag.entryAnywhere ''
|
||||
|
@ -135,6 +140,18 @@ in {
|
|||
''
|
||||
else ""
|
||||
}
|
||||
${
|
||||
if cfg.fidget-nvim.enable
|
||||
then ''
|
||||
require"fidget".setup{
|
||||
align = {
|
||||
bottom = ${boolToString cfg.fidget-nvim.align.bottom},
|
||||
right = ${boolToString cfg.fidget-nvim.align.right},
|
||||
}
|
||||
}
|
||||
''
|
||||
else ""
|
||||
}
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue