Skip to content

Commit 9cf17c3

Browse files
ayoub-benaligibbz00
authored andcommitted
Enable http server by default in Metals config (helix-editor#5551)
This is required to make commands like [doctor-run](https://scalameta.org/metals/docs/integrations/new-editor#run-doctor) work. It simply opens a browser to get general information about the build. Co-authored-by: Ayoub Benali <[email protected]>
1 parent 8945bc6 commit 9cf17c3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

languages.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,6 +1061,7 @@ file-types = ["scala", "sbt", "sc"]
10611061
comment-token = "//"
10621062
indent = { tab-width = 2, unit = " " }
10631063
language-server = { command = "metals" }
1064+
config = { "isHttpEnabled" = true }
10641065

10651066
[[grammar]]
10661067
name = "scala"
@@ -2106,4 +2107,4 @@ formatter = { command = "dhall" , args = ["format"] }
21062107

21072108
[[grammar]]
21082109
name = "dhall"
2109-
source = { git = "https://github.com/jbellerb/tree-sitter-dhall", rev = "affb6ee38d629c9296749767ab832d69bb0d9ea8" }
2110+
source = { git = "https://github.com/jbellerb/tree-sitter-dhall", rev = "affb6ee38d629c9296749767ab832d69bb0d9ea8" }

0 commit comments

Comments
 (0)