feat: Fixing up the gdscript LSP connection to the Godot server.
This commit is contained in:
parent
5a5386737e
commit
06e8a3f098
@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user