From 2d958d6c50b10318e29f6dacc291d8fcafd66de9 Mon Sep 17 00:00:00 2001 From: Dario Oddenino Date: Fri, 14 Oct 2022 18:57:52 +0200 Subject: Add support for Purescript language (#4242) --- languages.toml | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'languages.toml') diff --git a/languages.toml b/languages.toml index 24110865..7eb45d8b 100644 --- a/languages.toml +++ b/languages.toml @@ -723,6 +723,19 @@ indent = { tab-width = 2, unit = " " } 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" -- cgit v1.2.3-70-g09d2