Selaa lähdekoodia

Fix func keyword highlighting (#398)

Daelon Suzuka 3 vuotta sitten
vanhempi
commit
868ec5116f
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. 7 0
      syntaxes/GDScript.tmLanguage.json

+ 7 - 0
syntaxes/GDScript.tmLanguage.json

@@ -89,6 +89,9 @@
         {
             "include": "#function-declaration"
         },
+        {
+            "include": "#function_keyword"
+        },
         {
             "include": "#any-method"
         },
@@ -506,6 +509,10 @@
                 }
             ]
         },
+        "function_keyword": {
+            "match": "func",
+            "name": "keyword.language.gdscript"
+        },
         "parameters": {
             "name": "meta.function.parameters.gdscript",
             "begin": "(\\()",