Skip to content
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

Support for Completor.vim #55

Open
5 of 16 tasks
rkueke opened this issue Mar 18, 2022 · 1 comment
Open
5 of 16 tasks

Support for Completor.vim #55

rkueke opened this issue Mar 18, 2022 · 1 comment

Comments

@rkueke
Copy link

rkueke commented Mar 18, 2022

Issue Prelude

  • Category
    • Question
    • Bug
    • Suggestion
  • OS
    • [X ] Linux
    • macOS
    • Windows
    • Etc.
  • Vim
    • Vim
    • Neovim
  • Language
    • C
    • C++
    • go
    • python
    • rust
    • javascript
    • typescript
    • erlang

Completion Engine and Commit SHA

Minimal Configuration

Issue Details

Messages

Hi Tenfy
For c/c++ and python embedded development I use a lightweight toolchain based on Vim8.1, Make, Clang, Ale, Ultisnips, and Completor.vim .
I prefer Completor.vim because it is easy to install / configure, performant and usable for a lot of languages.

I installed CompleteParameter.vim - and surprise the placeholder generation was not triggered from completor's pum.

Wouldn't it be worth to think about adding completor to the list of CompleteParameter supported completors?
I opened a similar issue at Completor.vim.

Let me know how I can help!

@rkueke
Copy link
Author

rkueke commented Mar 19, 2022

Next step:

  • Minimal setting
  • let g:complete_parameter_log_level = 1
  1. Completor's completion pum:
    image

  2. Completor's completion after typing '(':
    ADS1115_setOpMode()
    -> plugin triggered and inserted () because completion failed

  3. TRACE and DEBUG
    [CompleteParameter][10:21:49][TRACE][1647681709521468] {'word': 'ADS1115_setOpMode', 'menu': 'uint8_t ADS1115_setOpMode(ADS1115 ads1115, uint8_t OpMode)', 'user_data': '', 'info': '', 'kind': '', 'abbr': 'ADS1115_setOpMode'}
    [CompleteParameter][10:21:49][DEBUG][1647681709521468] []
    [CompleteParameter][10:21:49][DEBUG][1647681709521468] parseds is empty
    [CompleteParameter][10:21:49][TRACE][1647681709521468] ()<80>kl
    -> It seems to be the parsing failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant