I use hrsh7th/nvim-compe
for autocomplete and mfussenegger/nvim-jdtls
for Java neovim development (If it's important) and I would like to get advice about unexpected problem:
When I type for example System.out.pr...
, plugin show me that I can complete it to System.out.println
. But when I choose one of variants, round open-close brackets don't complete, so I get System.out.println
as result.
Although if I install windwp/nvim-autopairs
additionally and make open brackets it was completed by close brackets
I didn't make major changes in config which I get from official github, so I have no idea what I do incorrectly
require'compe'.setup {
enabled = true;
autocomplete = true;
debug = false;
min_length = 1;
preselect = 'enable';
throttle_time = 80;
source_timeout = 200;
resolve_timeout = 800;
incomplete_delay = 400;
max_abbr_width = 100;
max_kind_width = 100;
max_menu_width = 100;
source = {
path = true;
buffer = true;
calc = true;
nvim_lsp = true;
nvim_lua = true;
vsnip = true;
ultisnips = true;
luasnip = true;
};
thanks