mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-07 19:25:58 +01:00
utility/precognition: expand vim
This commit is contained in:
parent
18e27eb0bb
commit
706c6ab60c
1 changed files with 6 additions and 5 deletions
|
@ -10,10 +10,11 @@ in {
|
||||||
config =
|
config =
|
||||||
mkIf cfg.enable
|
mkIf cfg.enable
|
||||||
{
|
{
|
||||||
vim.startPlugins = ["precognition-nvim"];
|
vim = {
|
||||||
|
startPlugins = ["precognition-nvim"];
|
||||||
vim.luaConfigRC.precognition = lib.nvim.dag.entryAnywhere ''
|
luaConfigRC.precognition = lib.nvim.dag.entryAnywhere ''
|
||||||
require('precognition').setup(${lib.nvim.lua.toLuaObject cfg.setupOpts})
|
require('precognition').setup(${lib.nvim.lua.toLuaObject cfg.setupOpts})
|
||||||
'';
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue