mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-10-29 10:29:50 +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):
|
||||
|
||||
[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
|
||||
inherit (lib.modules) mkIf;
|
||||
inherit (lib.nvim.dag) entryAnywhere;
|
||||
inherit (lib.nvim.lua) toLuaObject;
|
||||
cfg = config.vim.utility.nvim-biscuits;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim = {
|
||||
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