Skip to content

Commit

Permalink
Add hs and rs for haskell and rust
Browse files Browse the repository at this point in the history
  • Loading branch information
tingerrr authored May 17, 2024
1 parent 6c4e660 commit 4175a64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down Expand Up @@ -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 = "--"
Expand Down

0 comments on commit 4175a64

Please sign in to comment.