From f198380fa5c63c1638281e96af1627318fba8ff8 Mon Sep 17 00:00:00 2001 From: Heitor Augusto Date: Thu, 19 Jun 2025 19:51:06 -0300 Subject: [PATCH] plugins/otter: add `autoActivate` support for the new `lsp` module --- plugins/by-name/otter/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/by-name/otter/default.nix b/plugins/by-name/otter/default.nix index d2c2d3ef..a6bfd83d 100644 --- a/plugins/by-name/otter/default.nix +++ b/plugins/by-name/otter/default.nix @@ -113,6 +113,10 @@ lib.nixvim.plugins.mkNeovimPlugin { plugins.lsp.onAttach = lib.mkIf cfg.autoActivate '' require('otter').activate() ''; + + lsp.onAttach = lib.mkIf cfg.autoActivate '' + require('otter').activate() + ''; }; }