From 0dc938be1190d147e7013e3dce08ac8bff5d1662 Mon Sep 17 00:00:00 2001 From: Evgeny Kurnevsky Date: Wed, 21 Aug 2024 21:59:32 +0200 Subject: [PATCH] Set fallback scala version to automatic. --- lsp-metals.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lsp-metals.el b/lsp-metals.el index 7f1e890..70299b4 100644 --- a/lsp-metals.el +++ b/lsp-metals.el @@ -251,7 +251,7 @@ Metals will try to adjust the indentation to that of the current cursor." :group 'lsp-metals :package-version '(lsp-metals . "1.3")) -(defcustom lsp-metals-fallback-scala-version "3.2.0" +(defcustom lsp-metals-fallback-scala-version "automatic" "The Scala compiler version that is used as the default or fallback. Used when a file doesn't belong to any build target or the specified Scala version isn't supported by Metals. This applies to standalone Scala files,