From 85ae494c75c92c74d823672dda71bba1df00ce9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=E1=BA=8Fra?= Date: Sat, 22 Jan 2022 03:49:46 -0600 Subject: [PATCH] Add haskell-language-server-wrapper --lsp to default `languages.toml` After the changes to upgrade and reenable tree-sitter-haskell #1417 for the purpose of enabling Haskell syntax highlighting #1384, we might as well take the final step. --- book/src/generated/lang-support.md | 2 +- languages.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index fa8aa3ef90ef..e4070117c383 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -19,7 +19,7 @@ | glsl | ✓ | | ✓ | | | go | ✓ | ✓ | ✓ | `gopls` | | graphql | ✓ | | | | -| haskell | ✓ | | | | +| haskell | ✓ | | | `haskell-language-server-wrapper` | | html | ✓ | | | | | java | ✓ | | | | | javascript | ✓ | | ✓ | `typescript-language-server` | diff --git a/languages.toml b/languages.toml index f9362eac4cf8..3c3286104be8 100644 --- a/languages.toml +++ b/languages.toml @@ -355,7 +355,7 @@ injection-regex = "haskell" file-types = ["hs"] roots = [] comment-token = "--" - +language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] } indent = { tab-width = 2, unit = " " } [[language]]