We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 703870f commit 9a08b03Copy full SHA for 9a08b03
gdscript.js
@@ -1,10 +1,12 @@
1
/*
2
Language: GDScript
3
-Author: Khairul Hidayat <me@khairul.my.id>
+Author: Khairul Hidayat <me@khairul.my.id>, Nelson Sylvest*r Fritsch <>
4
Description: Programming language for Godot Game Engine
5
*/
6
+
7
+var module = module ? module : {}; // shim for browser use
8
-function(hljs) {
9
+function hljsDefineGDScript(hljs) {
10
var KEYWORDS = {
11
keyword:
12
'do var const extends is in export onready tool ' +
@@ -64,4 +66,10 @@ function(hljs) {
64
66
}
65
67
]
68
};
-}
69
+}
70
71
+module.exports = function(hljs) {
72
+ hljs.registerLanguage('gdscript', hljsDefineGDScript);
73
+};
74
75
+module.exports.definer = hljsDefineGDScript;
0 commit comments