diff --git a/modules/plugins/utility/motion/precognition/config.nix b/modules/plugins/utility/motion/precognition/config.nix index bfeed8f..e226c02 100644 --- a/modules/plugins/utility/motion/precognition/config.nix +++ b/modules/plugins/utility/motion/precognition/config.nix @@ -10,10 +10,11 @@ in { config = mkIf cfg.enable { - vim.startPlugins = ["precognition-nvim"]; - - vim.luaConfigRC.precognition = lib.nvim.dag.entryAnywhere '' - require('precognition').setup(${lib.nvim.lua.toLuaObject cfg.setupOpts}) - ''; + vim = { + startPlugins = ["precognition-nvim"]; + luaConfigRC.precognition = lib.nvim.dag.entryAnywhere '' + require('precognition').setup(${lib.nvim.lua.toLuaObject cfg.setupOpts}) + ''; + }; }; }