summaryrefslogtreecommitdiff
path: root/ted.cfg
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-09-10 00:11:27 -0400
committerpommicket <pommicket@gmail.com>2023-09-10 00:11:43 -0400
commit21cb2ba466ec0876d4e04fcca117650101d9359f (patch)
tree19afe36254cedea198bba5f2a1af5443a27a30a7 /ted.cfg
parent7185635a553d44b537d6fd1264ceedf421e114ef (diff)
fix godot issues by adding lsp-delay
Diffstat (limited to 'ted.cfg')
-rw-r--r--ted.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/ted.cfg b/ted.cfg
index dd36a1f..8fd7be3 100644
--- a/ted.cfg
+++ b/ted.cfg
@@ -211,6 +211,15 @@ comment-end = " */"
[GDScript.core]
lsp-port = 6005
+# this delay is needed because godot's language server is currently kinda shitty
+# and slow so we want to avoid overwhelming it with requests
+# (specifically this sets up a delay between you typing
+# and ted sending what you typed to godot)
+lsp-delay = 0.5
+# phantom completion/signature help use a lot of requests --- let's not overwhelm godot
+# (turn these back on if you want but you may have to increase lsp-delay)
+phantom-completions = off
+signature-help = off
# phantom completions are just annoying if you're not actually programming
[Markdown.core]