Add `hs` and `rs` for `haskell` and `rust`

pull/10785/head
tingerrr 2 weeks ago committed by GitHub
parent 6c4e66025e
commit 4175a64dc0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -223,7 +223,7 @@ mode = "location"
[[language]]
name = "rust"
scope = "source.rust"
injection-regex = "rust"
injection-regex = "rs|rust"
file-types = ["rs"]
roots = ["Cargo.toml", "Cargo.lock"]
shebangs = ["rust-script", "cargo"]
@ -1265,7 +1265,7 @@ source = { git = "https://github.com/ikatyang/tree-sitter-yaml", rev = "0e36bed1
[[language]]
name = "haskell"
scope = "source.haskell"
injection-regex = "haskell"
injection-regex = "hs|haskell"
file-types = ["hs", "hs-boot"]
roots = ["Setup.hs", "stack.yaml", "cabal.project"]
comment-token = "--"

Loading…
Cancel
Save