Skip to content

Commit

Permalink
Enable http server by default in Metals config (helix-editor#5551)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
2 people authored and Shafkath Shuhan committed Jan 24, 2023
1 parent dfeb9f2 commit 47155e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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" }

0 comments on commit 47155e5

Please sign in to comment.