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 {
|
||||
flags = {
|
||||
debounce_text_changes = 100,
|
||||
}
|
||||
filetypes = {
|
||||
'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,
|
||||
on_attach = on_attach,
|
||||
})
|
||||
|
||||
vim.lsp.config('gdscript', {})
|
||||
vim.lsp.enable('gdscript')
|
||||
end
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ return {
|
||||
'bashls', -- Bash
|
||||
-- 'cfn-lint', -- Cloudformation for AWS
|
||||
'clangd', -- C/C++
|
||||
-- 'gdscript', -- Godot script
|
||||
-- 'gdtoolkit', -- Godot script
|
||||
-- 'hadolint', -- Dockerfile linting
|
||||
'intelephense', -- PHP
|
||||
'lua_ls', -- Lua
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user