mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-10-31 19:12:38 +00:00
Compare commits
2 commits
55fc5fecb8
...
b2a462feb7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b2a462feb7 |
||
|
|
66e32eeafa |
2 changed files with 9 additions and 0 deletions
|
|
@ -480,3 +480,6 @@
|
||||||
[Cool-Game-Dev](https://github.com/Cool-Game-Dev):
|
[Cool-Game-Dev](https://github.com/Cool-Game-Dev):
|
||||||
|
|
||||||
[nvim-biscuits]: https://github.com/code-biscuits/nvim-biscuits
|
[nvim-biscuits]: https://github.com/code-biscuits/nvim-biscuits
|
||||||
|
|
||||||
|
- Add [nvim-biscuits] to show block context. Available at
|
||||||
|
`vim.utility.nvim-biscuits`.
|
||||||
|
|
|
||||||
|
|
@ -4,11 +4,17 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.modules) mkIf;
|
inherit (lib.modules) mkIf;
|
||||||
|
inherit (lib.nvim.dag) entryAnywhere;
|
||||||
|
inherit (lib.nvim.lua) toLuaObject;
|
||||||
cfg = config.vim.utility.nvim-biscuits;
|
cfg = config.vim.utility.nvim-biscuits;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = ["nvim-biscuits"];
|
startPlugins = ["nvim-biscuits"];
|
||||||
|
|
||||||
|
pluginRC.nvim-biscuits = entryAnywhere ''
|
||||||
|
require('nvim-biscuits').setup(${toLuaObject cfg.setupOpts})
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue