feat: Fixing up the gdscript LSP connection to the Godot server.

This commit is contained in:
Finch 2026-01-26 06:31:57 -06:00
parent 5a5386737e
commit 06e8a3f098
4 changed files with 9 additions and 4 deletions

View File

@ -1,5 +1,7 @@
return { return {
flags = { filetypes = {
debounce_text_changes = 100, 'gd', 'gdscript', 'gdscript3'
} },
root_markers = {'project.godot', '.git'},
cmd = vim.lsp.rpc.connect('127.0.0.1', 6005)
} }

View File

@ -43,5 +43,8 @@ return {
capabilities = capabilities, capabilities = capabilities,
on_attach = on_attach, on_attach = on_attach,
}) })
vim.lsp.config('gdscript', {})
vim.lsp.enable('gdscript')
end end
} }

View File

@ -12,7 +12,7 @@ return {
'bashls', -- Bash 'bashls', -- Bash
-- 'cfn-lint', -- Cloudformation for AWS -- 'cfn-lint', -- Cloudformation for AWS
'clangd', -- C/C++ 'clangd', -- C/C++
-- 'gdscript', -- Godot script -- 'gdtoolkit', -- Godot script
-- 'hadolint', -- Dockerfile linting -- 'hadolint', -- Dockerfile linting
'intelephense', -- PHP 'intelephense', -- PHP
'lua_ls', -- Lua 'lua_ls', -- Lua