diff options
author | Dario Oddenino | 2022-10-14 16:57:52 +0000 |
---|---|---|
committer | GitHub | 2022-10-14 16:57:52 +0000 |
commit | 2d958d6c50b10318e29f6dacc291d8fcafd66de9 (patch) | |
tree | d7dc59cc2528c8b10ce49f043c2619a63205b4bb /languages.toml | |
parent | 13d81b74787b58c01b56fdac8e3515470b2ed127 (diff) |
Add support for Purescript language (#4242)
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 24110865..7eb45d8b 100644 --- a/languages.toml +++ b/languages.toml @@ -724,6 +724,19 @@ name = "haskell" source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "b6ec26f181dd059eedd506fa5fbeae1b8e5556c8" } [[language]] +name = "purescript" +scope = "source.purescript" +injection-regex = "purescript" +file-types = ["purs"] +roots = ["spago.dhall", "bower.json"] +comment-token = "--" +language-server = { command = "purescript-language-server", args = ["--stdio"] } +indent = { tab-width = 2, unit = " " } +auto-format = true +formatter = { command = "purs-tidy", args = ["format"] } +grammar = "haskell" + +[[language]] name = "zig" scope = "source.zig" injection-regex = "zig" |