Jelajahi Sumber

Fix Sphinx warning about GDScriptLexer

(cherry picked from commit ca680690246a36caf37a1afb4d6fa4305b4084df)
Max Hilbrunner 4 tahun lalu
induk
melakukan
60265b4c45
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      _extensions/gdscript.py

+ 1 - 1
_extensions/gdscript.py

@@ -339,7 +339,7 @@ class GDScriptLexer(RegexLexer):
 
 
 def setup(sphinx):
-    sphinx.add_lexer("gdscript", GDScriptLexer())
+    sphinx.add_lexer("gdscript", GDScriptLexer)
 
     return {
         "parallel_read_safe": True,