utility/precognition: expand vim

This commit is contained in:
Nowaaru 2024-11-06 22:52:31 -07:00
parent 18e27eb0bb
commit 706c6ab60c
No known key found for this signature in database

View file

@ -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})
''; '';
};
}; };
} }