-
Notifications
You must be signed in to change notification settings - Fork 109
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
Error detected while processing function phpcomplete#CompletePHP[60] #126
Comments
Hi 👋 For the latest commit to work, you'd need vim 8.2 or newer. These changes were added to support newer vim versions (where manipulating buffer contents is not allowed from inside completion functions) I've added a tag Plug 'shawncplus/phpcomplete.vi', { 'tag': 'vim7' } I know it's not ideal to break backwards-compatibility like that, but sort-of assumed that people who update their plugins frequently would have new vim versions too and wanted to avoid littering the codebase with vim-version-checks 😓 Let me know if this helps! |
Hi complex857,
Still got that. now i have to change the phpcomplete.vim branch to old manually. |
Error detected while processing function phpcomplete#CompletePHP[60]..phpcomplete#GetCurre NVIM v0.6.1 Features: +acl +iconv +tui system vimrc file: "$VIM/sysinit.vim" Run :checkhealth for more info |
@more-pepsi Appears like that neovim doesn't implement the vim8.1+ popup API, so best I can recommend for now is to use a plugin version up to this commit: ff5b5ef In the future we either need to try to use some neovim specific floating-window api or perhaps some plugin for neovim that implements the vim-popup api, although not sure if that would not bring back the original "not allowed to switch windows here" errors. |
Hi there,
I got the blow error after i updated my plugin phpcomlete.vim
phpcomplete version: c934e47 [David Szabo] 2021-02-08 14:44:22 +0100 (HEAD -> master, origin/master, origin/HEAD) Apply popup-content manipulation patch from @lacygoill
The old phpcomplete version: ff5b5ef works fine. after the version, the b6ba63d, 77a0cf6, c934e47 will pop that error.
php version 7.4.16 OS: debian 10 buster.
Any suggestions? Thx.
The text was updated successfully, but these errors were encountered: