Skip to content

Commit 0b4e261

Browse files
committed
Merge pull request #108714 from adamscott/fix-gdscript-language-server-web
[Web] Disable GDScript LSP
2 parents a184439 + 8420468 commit 0b4e261

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform/web/detect.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,3 +330,6 @@ def configure(env: "SConsEnvironment"):
330330
# This workaround creates a closure that prevents the garbage collector from freeing the WebGL context.
331331
# We also only use WebGL2, and changing context version is not widely supported anyway.
332332
env.Append(LINKFLAGS=["-sGL_WORKAROUND_SAFARI_GETCONTEXT_BUG=0"])
333+
334+
# Disable GDScript LSP (as the Web platform is not compatible with TCP).
335+
env.Append(CPPDEFINES=["GDSCRIPT_NO_LSP"])

0 commit comments

Comments
 (0)