Enable http server by default in Metals config (#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 <ayoub.benali@xing.com>
This commit is contained in:
Ayoub Benali 2023-01-16 17:03:03 +01:00 committed by GitHub
parent 7bdba4a6bf
commit 97083f8836
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1061,6 +1061,7 @@ file-types = ["scala", "sbt", "sc"]
comment-token = "//"
indent = { tab-width = 2, unit = " " }
language-server = { command = "metals" }
config = { "isHttpEnabled" = true }
[[grammar]]
name = "scala"
@ -2106,4 +2107,4 @@ formatter = { command = "dhall" , args = ["format"] }
[[grammar]]
name = "dhall"
source = { git = "https://github.com/jbellerb/tree-sitter-dhall", rev = "affb6ee38d629c9296749767ab832d69bb0d9ea8" }
source = { git = "https://github.com/jbellerb/tree-sitter-dhall", rev = "affb6ee38d629c9296749767ab832d69bb0d9ea8" }