finish setting up Godot LSP

This commit is contained in:
Eric Olerud 2024-04-18 22:55:34 -04:00
parent 52d20aca31
commit 2ca9d9c693
1 changed files with 6 additions and 1 deletions

View File

@ -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,
},