Change godot port to 6005

Godot changed the LSP port for Godot 4:
https://github.com/godotengine/godot/blob/master/modules/gdscript/language_server/gdscript_language_server.h#L47-L48

The change was in this commit:

de7873c2d8

Godot 3 users can change to use this port in editor -> editor settings -> network -> language server -> remote port. Or they can use `let g:lsp_settings.godot = { 'tcp': '127.0.0.1:6008'}` to use the old port instead.
This commit is contained in:
David Briscoe
2023-06-07 09:56:13 -07:00
committed by mattn
parent b295cdfb43
commit cd473fc492

View File

@@ -2,7 +2,7 @@ augroup vim_lsp_settings_godot
au!
LspRegisterServer {
\ 'name': 'godot',
\ 'tcp': {server_info->lsp_settings#get('godot', 'tcp', '127.0.0.1:6008')},
\ 'tcp': {server_info->lsp_settings#get('godot', 'tcp', '127.0.0.1:6005')},
\ 'root_uri':{server_info->lsp_settings#get('godot', 'root_uri', lsp_settings#root_uri('godot'))},
\ 'initialization_options': lsp_settings#get('godot', 'initialization_options', v:null),
\ 'allowlist': lsp_settings#get('godot', 'allowlist', ['gdscript3', 'gdscript']),