aboutsummaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorIvan2022-06-12 19:08:51 +0000
committerGitHub2022-06-12 19:08:51 +0000
commit0bc7259672c525f2bd16e6703f3848d617458836 (patch)
tree777086e720b41d599a483c4e8193b8feea059b06 /languages.toml
parente9283b20b432d40782bcf78423ef770289f6a013 (diff)
add prisma tree-sitter and lsp support (#2703)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index 2961778f..374865f1 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1449,3 +1449,17 @@ indent = { tab-width = 2, unit = "\t" }
[[grammar]]
name = "openscad"
source = { git = "https://github.com/bollian/tree-sitter-openscad", rev = "5c3ce93df0ac1da7197cf6ae125aade26d6b8972" }
+
+[[language]]
+name = "prisma"
+scope = "source.prisma"
+injection-regex = "prisma"
+file-types = ["prisma"]
+roots = ["package.json"]
+comment-token = "//"
+language-server = { command = "prisma-language-server", args = ["--stdio"] }
+indent = { tab-width = 2, unit = " " }
+
+[[grammar]]
+name = "prisma"
+source = { git = "https://github.com/victorhqc/tree-sitter-prisma", rev = "17a59236ac25413b81b1613ea6ba5d8d52d7cd6c" }