From 2ca9d9c693b6154931bf1c8c1eb9731f31413960 Mon Sep 17 00:00:00 2001 From: Eric Olerud Date: Thu, 18 Apr 2024 22:55:34 -0400 Subject: [PATCH] finish setting up Godot LSP --- init.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 885e128a..9cbdb716 100644 --- a/init.lua +++ b/init.lua @@ -470,7 +470,6 @@ require('lazy').setup({ -- But for many setups, the LSP (`tsserver`) will work just fine -- tsserver = {}, -- - lua_ls = { -- cmd = {...}, -- filetypes = { ...}, @@ -515,6 +514,12 @@ require('lazy').setup({ end, }, } + -- Godot's LSP - Requires Godot to be running + require('lspconfig')['gdscript'].setup { + -- cmd = vim.lsp.rpc.connect('127.0.0.1', 6005), + cmd = { 'ncat', '127.0.0.1', '6005' }, + name = 'godot', + } end, },