From 98605b1ba8896b7a45e64e7e13a10eee482b801a Mon Sep 17 00:00:00 2001 From: Nathan Lovato <12694995+NathanLovato@users.noreply.github.com> Date: Mon, 12 Aug 2024 12:46:03 +0200 Subject: [PATCH] improvement: add support for angular brackets --- languages/gdscript/brackets.scm | 1 + languages/gdscript/config.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/languages/gdscript/brackets.scm b/languages/gdscript/brackets.scm index ccb58e3..191fd9c 100644 --- a/languages/gdscript/brackets.scm +++ b/languages/gdscript/brackets.scm @@ -1,2 +1,3 @@ ("(" @open ")" @close) ("[" @open "]" @close) +("{" @open "}" @close) diff --git a/languages/gdscript/config.toml b/languages/gdscript/config.toml index 30bfc4f..1abae33 100644 --- a/languages/gdscript/config.toml +++ b/languages/gdscript/config.toml @@ -5,4 +5,5 @@ line_comments = ["# ", "## "] brackets = [ { start = "[", end = "]", close = true, newline = true }, { start = "(", end = ")", close = true, newline = true }, + { start = "{", end = "}", close = true, newline = true }, ]