From 706c6ab60c457353eacb3569087f686e03cd1b26 Mon Sep 17 00:00:00 2001 From: Nowaaru Date: Wed, 6 Nov 2024 22:52:31 -0700 Subject: [PATCH] utility/precognition: expand `vim` --- .../plugins/utility/motion/precognition/config.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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}) + ''; + }; }; }