LSP: Add support for custom host setting

You can now configure host in the `language_server` settings in the editor
settings.
This commit is contained in:
John J. Donna II 2021-09-01 18:56:19 -04:00 committed by Rémi Verschelde
parent 0068247ab6
commit be6da39b8a
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 6 additions and 2 deletions

View file

@ -44,6 +44,7 @@ class GDScriptLanguageServer : public EditorPlugin {
bool thread_running = false;
bool started = false;
bool use_thread = false;
String host = "127.0.0.1";
int port = 6008;
static void thread_main(void *p_userdata);