From 97083f88364e1455f42023dadadfb410fd476505 Mon Sep 17 00:00:00 2001 From: Ayoub Benali Date: Mon, 16 Jan 2023 17:03:03 +0100 Subject: [PATCH] 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 --- languages.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 6d016902b..a66605b29 100644 --- a/languages.toml +++ b/languages.toml @@ -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" } \ No newline at end of file +source = { git = "https://github.com/jbellerb/tree-sitter-dhall", rev = "affb6ee38d629c9296749767ab832d69bb0d9ea8" }