Skip to content

Commit 61d04fc

Browse files
ocharlesShekhinah Memmel
authored andcommitted
Match .hs-boot files to Haskell (helix-editor#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)
1 parent 97a80dc commit 61d04fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

languages.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ source = { git = "https://github.com/ikatyang/tree-sitter-yaml", rev = "0e36bed1
732732
name = "haskell"
733733
scope = "source.haskell"
734734
injection-regex = "haskell"
735-
file-types = ["hs"]
735+
file-types = ["hs", "hs-boot"]
736736
roots = ["Setup.hs", "stack.yaml", "*.cabal"]
737737
comment-token = "--"
738738
language-server = { command = "haskell-language-server-wrapper", args = ["--lsp"] }

0 commit comments

Comments
 (0)