summaryrefslogtreecommitdiff
path: root/languages.toml
diff options
context:
space:
mode:
authorEmmChriss2022-04-15 15:35:23 +0000
committerGitHub2022-04-15 15:35:23 +0000
commit50df92481103ec4b2d2549eebc0dcbae73ed8a20 (patch)
treea441fc4aecd0bbe849e66d3b801447826928dc32 /languages.toml
parent893963df0ad8596034522cd18570517f823d7123 (diff)
gdscript support (#1985)
Diffstat (limited to 'languages.toml')
-rw-r--r--languages.toml15
1 files changed, 15 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml
index d3a21c2d..d5409eaa 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1150,3 +1150,18 @@ injection-regex = "sql"
[[grammar]]
name = "sql"
source = { git = "https://github.com/DerekStride/tree-sitter-sql", rev = "0caa7fa2ee00e0b770493a79d4efacc1fc376cc5" }
+
+[[language]]
+name = "gdscript"
+scope = "source.gdscript"
+injection-regex = "gdscript"
+file-types = ["gd"]
+shebangs = []
+roots = ["project.godot"]
+auto-format = true
+comment-token = "#"
+indent = { tab-width = 4, unit = " " }
+
+[[grammar]]
+name = "gdscript"
+source = { git = "https://github.com/PrestonKnopp/tree-sitter-gdscript", rev = "2a6abdaa47fcb91397e09a97c7433fd995ea46c6" }