on master help sign in
Match `.hs-boot` files to Haskell (#4800)

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)

commiteada6d534e022b66e1c1d631670dc1ccbe922b9e authorOllie Charles <ollie@ocharles.org.uk> dateFri 18 Nov 2022, 14:36 (4 years ago) parent58e7e1c
1 file changed+1−1
languages.toml+1−1
languages.toml+1−1
@@ -732,7 +732,7 @@ source = { git = "https://github.com/ikatyang/tree-sitter-yaml", rev = "0e36bed1
732732name = "haskell"
733733scope = "source.haskell"
734734injection-regex = "haskell"
735−file-types = ["hs"]
735+file-types = ["hs", "hs-boot"]
736736roots = ["Setup.hs", "stack.yaml", "*.cabal"]
737737comment-token = "--"
738738language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }