Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDScript poor autocompletion #76

Open
CabalCrow opened this issue Nov 16, 2024 · 0 comments
Open

GDScript poor autocompletion #76

CabalCrow opened this issue Nov 16, 2024 · 0 comments

Comments

@CabalCrow
Copy link

When using nvim_lsp source for autocompletion with the gdscript lsp setup with default capabilities:

local lspconfig_defaults = require("lspconfig").util.default_config
lspconfig_defaults.capabilities =
    vim.tbl_deep_extend("force", lspconfig_defaults.capabilities, require("cmp_nvim_lsp").default_capabilities())

I get very poor autocompletion compared to any other LSP and to the GDScript LSP when used from inside the Godot executable.
Here an example of what I mean by 'poor' autocompletion.

var something: int = 0

If I type so under the line in the codeblock above, I will get the correct autocompletion to something, however if I write more than 2 characters, so som the autocompletion for something disappears completely and I need to delete the whole word and start anew to get the correct autocompletion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant