mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
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)
This commit is contained in:
parent
58e7e1c5e3
commit
eada6d534e
@ -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"] }
|
||||
|
Loading…
Reference in New Issue
Block a user