Skip to content

GDScript poor autocompletion #76

@CabalCrow

Description

@CabalCrow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions