From f9b851389228c8fe18a68eb233cca475d2b621a1 Mon Sep 17 00:00:00 2001 From: A-Lamia Date: Thu, 6 Oct 2022 13:41:06 +1100 Subject: [PATCH] fix: gdscript use ip address instead of localhost (#2175) localhost causing invalid IP address. --- lua/lspconfig/server_configurations/gdscript.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lspconfig/server_configurations/gdscript.lua b/lua/lspconfig/server_configurations/gdscript.lua index 0e3156bec6..1491212a96 100644 --- a/lua/lspconfig/server_configurations/gdscript.lua +++ b/lua/lspconfig/server_configurations/gdscript.lua @@ -3,7 +3,7 @@ local util = require 'lspconfig.util' local cmd = { 'nc', 'localhost', '6008' } if vim.fn.has 'nvim-0.8' == 1 then - cmd = vim.lsp.rpc.connect('localhost', '6008') + cmd = vim.lsp.rpc.connect('127.0.0.1', '6008') end return {