Skip to content

Commit

Permalink
fix: gdscript use ip address instead of localhost (neovim#2175)
Browse files Browse the repository at this point in the history
localhost causing invalid IP address.
  • Loading branch information
A-Lamia authored Oct 6, 2022
1 parent fc2f44d commit f9b8513
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lspconfig/server_configurations/gdscript.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f9b8513

Please sign in to comment.