nvimdev / epo.nvim

A blazing fast and minimal neovim autocompletion
MIT License
131 stars 4 forks source link

Completion eats up one more character #1

Closed RunThem closed 10 months ago

RunThem commented 10 months ago

debug mini config

vim.opt.rtp:append('~/.local/share/nvim/lazy/nvim-lspconfig')
vim.opt.rtp:append('~/.local/share/nvim/lazy/epo.nvim')

vim.opt.completeopt = 'menu,menuone,noselect'

local epo = require('epo')
local lspconfig = require('lspconfig')

epo.setup({})
lspconfig['clangd'].setup({})
char* str = "hello epo";

int len = strlen();
//               ^
//               completion 'str'
// => `int len = strlen(str;`
// ')' was eaten.

Peek 2023-10-28 18-48