|
|
@@ -1514,9 +1514,10 @@
|
|
|
(= name "embed")
|
|
|
(macro-embed-cp config arguments)
|
|
|
|
|
|
- (and config/lsp-enabled? (= name "renderer"))
|
|
|
- (when-let [block-uuid (str (:block/uuid config))]
|
|
|
- (plugins/hook-ui-slot :macro-renderer-slotted (assoc options :uuid block-uuid)))
|
|
|
+ (= name "renderer")
|
|
|
+ (when config/lsp-enabled?
|
|
|
+ (when-let [block-uuid (str (:block/uuid config))]
|
|
|
+ (plugins/hook-ui-slot :macro-renderer-slotted (assoc options :uuid block-uuid))))
|
|
|
|
|
|
(get @macro/macros name)
|
|
|
((get @macro/macros name) config options)
|