diff --git a/layers/+lang/scala/layers.el b/layers/+lang/scala/layers.el index 3f4e6cc99..247bb58c1 100644 --- a/layers/+lang/scala/layers.el +++ b/layers/+lang/scala/layers.el @@ -12,5 +12,5 @@ (configuration-layer/declare-layer-dependencies '(java)) (when (and (boundp 'scala-backend) - (spacemacs//scala-backend-metals-p)) + (eq scala-backend 'scala-metals)) (configuration-layer/declare-layer-dependencies '(lsp)))