summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyra2022-01-23 07:22:31 +0000
committerGitHub2022-01-23 07:22:31 +0000
commita8e69e12f414b77824af9db4b0631f83d665effd (patch)
treebcef2aebb6cabf3a3ac43a1c8c569a89cf7d7a0b
parent4080341977d10abe91808711a3d5c2bc726c10e1 (diff)
Add haskell-language-server-wrapper --lsp to default `languages.toml` (#1556)
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.
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index fa8aa3ef..e4070117 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 f9362eac..3c328610 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]]