SDL: examples: Link to SDL integer types in code examples, too.

From f4c2c09f782f29254137f27bee538d196f7c2236 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Mon, 9 Sep 2024 15:38:52 -0400
Subject: [PATCH] examples: Link to SDL integer types in code examples, too.

---
 examples/highlight-plugin.lua | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/examples/highlight-plugin.lua b/examples/highlight-plugin.lua
index 2c9fd79a5be87..9598ec91c9d26 100644
--- a/examples/highlight-plugin.lua
+++ b/examples/highlight-plugin.lua
@@ -44,7 +44,9 @@ function syntaxUpdate(desc)
     -- SDL keywords start with SDL_
     -- if this pattern applies to the token, we return the URL
     -- if we return nothing, the token is outputted as is
-    if string.find(token, "SDL_")==1 then
+    if ( (token == "Uint8") or (token == "Uint16") or (token == "Uint32") or (token == "Uint64") or
+         (token == "Sint8") or (token == "Sint16") or (token == "Sint32") or (token == "Sint64") or
+         (string.find(token, "SDL_") == 1) ) then
       return getURL(token)
     end