From f3f132a0119fb8fde2e790b79d73ef07177bcd05 Mon Sep 17 00:00:00 2001 From: 0rphee <0rph3e@proton.me> Date: Mon, 18 Dec 2023 15:06:46 -0600 Subject: [PATCH] Add haskell-language-server as lsp for cabal files https://haskell-language-server.readthedocs.io/en/latest/features.html#cabal-parse-errors-and-warnings Update docs --- book/src/generated/lang-support.md | 2 +- languages.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 0ec8f5bad775..880b84e26e0b 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -11,7 +11,7 @@ | blueprint | ✓ | | | `blueprint-compiler` | | c | ✓ | ✓ | ✓ | `clangd` | | c-sharp | ✓ | ✓ | | `OmniSharp` | -| cabal | | | | | +| cabal | | | | `haskell-language-server-wrapper` | | cairo | ✓ | ✓ | ✓ | `cairo-language-server` | | capnp | ✓ | | ✓ | | | clojure | ✓ | | | `clojure-lsp` | diff --git a/languages.toml b/languages.toml index d05180ef1010..e735735ba5b5 100644 --- a/languages.toml +++ b/languages.toml @@ -2698,6 +2698,7 @@ file-types = [ "cabal" ] roots = ["cabal.project", "Setup.hs"] indent = { tab-width = 2, unit = " " } comment-token = "--" +language-servers = [ "haskell-language-server" ] [[language]] name = "hurl"