From c71b4c5579fdc753e62300f5ee6ca5e747a98e13 Mon Sep 17 00:00:00 2001 From: Erasin Date: Mon, 13 Feb 2023 04:03:02 +0800 Subject: Update grammar for godot (#5944) * update grammar for gdscript. * add comment injections for gdscript. * add indent for gdscript * add file-type support for godot-resource--- languages.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'languages.toml') diff --git a/languages.toml b/languages.toml index 311ef689..eaf73b41 100644 --- a/languages.toml +++ b/languages.toml @@ -1449,13 +1449,13 @@ indent = { tab-width = 4, unit = "\t" } [[grammar]] name = "gdscript" -source = { git = "https://github.com/PrestonKnopp/tree-sitter-gdscript", rev = "2a6abdaa47fcb91397e09a97c7433fd995ea46c6" } +source = { git = "https://github.com/PrestonKnopp/tree-sitter-gdscript", rev = "a56a6fcec3fb63ec3324bf9373aae7298861eb30" } [[language]] name = "godot-resource" scope = "source.tscn" injection-regex = "godot" -file-types = ["tscn","tres"] +file-types = ["tscn", "tres", "godot", "gdextension"] shebangs = [] roots = ["project.godot"] auto-format = false -- cgit v1.2.3-70-g09d2