cmp-nvim-lsp icon indicating copy to clipboard operation
cmp-nvim-lsp copied to clipboard

GDScript poor autocompletion

Open CabalCrow opened this issue 1 year ago • 0 comments
trafficstars

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.

CabalCrow avatar Nov 16 '24 18:11 CabalCrow