From b8ad0763245a56bbabf938034775b213e666ec7a Mon Sep 17 00:00:00 2001 From: ema Date: Mon, 12 Jan 2026 23:06:17 +0800 Subject: [PATCH] Add GDScript syntax highlighting definitions Introduced GDScript.xshd files for both dark and light themes to enable syntax highlighting support for GDScript files in the text viewer plugin. --- .../Syntax/Dark/GDScript.xshd | 144 ++++++++++++++++++ .../Syntax/Light/GDScript.xshd | 144 ++++++++++++++++++ 2 files changed, 288 insertions(+) create mode 100644 QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/GDScript.xshd create mode 100644 QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/GDScript.xshd diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/GDScript.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/GDScript.xshd new file mode 100644 index 0000000..dde9636 --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/GDScript.xshd @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ~!%^&*()-+=|\{}[]:;\"'<>,.?/ + + + + # + + + + + \" + \" + + + + ' + ' + + + + + \"\"\" + \"\"\" + + + + ''' + ''' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/GDScript.xshd b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/GDScript.xshd new file mode 100644 index 0000000..8524a49 --- /dev/null +++ b/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Light/GDScript.xshd @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ~!%^&*()-+=|\{}[]:;\"'<>,.?/ + + + + # + + + + + \" + \" + + + + ' + ' + + + + + \"\"\" + \"\"\" + + + + ''' + ''' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +