summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorBorys Lykah2023-07-09 17:17:01 +0000
committerGitHub2023-07-09 17:17:01 +0000
commit7c338429f845315fb276ff482f91b94b3102dbd8 (patch)
tree0b18cb105e4552c0594dc206e275335e3c482440 /languages.toml
parentc33795e770808f11c975f30848067ce1c7ee85be (diff)
Add language support for persistent library syntax (#7261)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 482a2511..e8f6a7a6 100644
--- a/languages.toml
+++ b/languages.toml
@@ -956,6 +956,18 @@ name = "haskell"
source = { git = "https://github.com/tree-sitter/tree-sitter-haskell", rev = "98fc7f59049aeb713ab9b72a8ff25dcaaef81087" }
[[language]]
+name = "haskell-persistent"
+scope = "source.persistentmodels"
+file-types = ["persistentmodels"]
+roots = []
+comment-token = "--"
+indent = { tab-width = 2, unit = " " }
+
+[[grammar]]
+name = "haskell-persistent"
+source = { git = "https://github.com/MercuryTechnologies/tree-sitter-haskell-persistent", rev = "58a6ccfd56d9f1de8fb9f77e6c42151f8f0d0f3d" }
+
+[[language]]
name = "purescript"
scope = "source.purescript"
injection-regex = "purescript"