diff --git a/modules/plugins/languages/docker.nix b/modules/plugins/languages/docker.nix index 306072e3..61eee464 100644 --- a/modules/plugins/languages/docker.nix +++ b/modules/plugins/languages/docker.nix @@ -95,7 +95,7 @@ in { }; }; - config = mkMerge [ + config = mkIf cfg.enable (mkMerge [ { vim.autocmds = [ # Without this the LSP doesn't understand them correctly @@ -162,5 +162,5 @@ in { ); }; }) - ]; + ]); }