diff --git a/modules/plugins/ui/borders/borders.nix b/modules/plugins/ui/borders/borders.nix index 99515919..5c57c1a6 100644 --- a/modules/plugins/ui/borders/borders.nix +++ b/modules/plugins/ui/borders/borders.nix @@ -44,6 +44,7 @@ in { nvim-cmp = mkPluginStyleOption "nvim-cmp"; lsp-signature = mkPluginStyleOption "lsp-signature"; code-action-menu = mkPluginStyleOption "code-actions-menu"; + fastaction = mkPluginStyleOption "fastaction"; }; }; } diff --git a/modules/plugins/ui/fastaction/config.nix b/modules/plugins/ui/fastaction/config.nix index 252bfb1e..79c3e252 100644 --- a/modules/plugins/ui/fastaction/config.nix +++ b/modules/plugins/ui/fastaction/config.nix @@ -8,13 +8,17 @@ inherit (lib.nvim.lua) toLuaObject; cfg = config.vim.ui.fastaction; + borderCfg = config.vim.ui.borders.plugins.fastaction; in { config = mkIf cfg.enable { vim = { - ui.fastaction.setupOpts.register_ui_select = mkDefault true; + ui.fastaction.setupOpts = { + register_ui_select = mkDefault true; + popup.border = mkIf borderCfg.enable borderCfg.style; + }; startPlugins = ["fastaction-nvim"]; - pluginRC.fastaction-nvim = entryAnywhere "require('fastaction').setup(${toLuaObject cfg.setupOpts})"; + pluginRC.fastaction = entryAnywhere "require('fastaction').setup(${toLuaObject cfg.setupOpts})"; }; }; }