From 10f55f99c7fef333d2b5dc20b0d57c660ccd1bfb Mon Sep 17 00:00:00 2001 From: Ollie Charles Date: Fri, 18 Nov 2022 09:03:25 +0000 Subject: [PATCH] Match `.hs-boot` files to Haskell Haskell source files are now either `.hs` (as before) or `.hs-boot`, which is a type of Haskell file that only contains type declarations (https://downloads.haskell.org/ghc/latest/docs/users_guide/separate_compilation.html#how-to-compile-mutually-recursive-modules) --- languages.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages.toml b/languages.toml index 927c5a0e0f55..c40b0d503322 100644 --- a/languages.toml +++ b/languages.toml @@ -732,7 +732,7 @@ source = { git = "https://github.com/ikatyang/tree-sitter-yaml", rev = "0e36bed1 name = "haskell" scope = "source.haskell" injection-regex = "haskell" -file-types = ["hs"] +file-types = ["hs", "hs-boot"] roots = ["Setup.hs", "stack.yaml", "*.cabal"] comment-token = "--" language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }