Skip to content

Commit

Permalink
Match .hs-boot files to Haskell (helix-editor#4800)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
ocharles authored and Shekhinah Memmel committed Dec 11, 2022
1 parent 97a80dc commit 61d04fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down

0 comments on commit 61d04fc

Please sign in to comment.