From 5982f58ccbd907ad9e5d6d7c16ea6873b9c43801 Mon Sep 17 00:00:00 2001 From: JoelNiemela Date: Fri, 27 Sep 2024 14:50:52 -0500 Subject: [PATCH] Add script syntax hint for cfswitch --- data/en/cfswitch.json | 1 + 1 file changed, 1 insertion(+) diff --git a/data/en/cfswitch.json b/data/en/cfswitch.json index 4f604c36a..7ea9bf9c6 100644 --- a/data/en/cfswitch.json +++ b/data/en/cfswitch.json @@ -2,6 +2,7 @@ "name":"cfswitch", "type":"tag", "syntax":"", + "script":"switch (expression) { }", "related":["cfcase","cfdefaultcase"], "description":"Evaluates a passed expression and passes control to the cfcase tag that matches the expression result. You can, optionally, code a cfdefaultcase tag, which receives control if there is no matching cfcase tag value. Note the difference in the tag and script syntax when providing multiple values for a case.", "params": [