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

Incorrect completion trigger for closing C++ block comments #64

Open
spimanov opened this issue Feb 17, 2023 · 0 comments
Open

Incorrect completion trigger for closing C++ block comments #64

spimanov opened this issue Feb 17, 2023 · 0 comments

Comments

@spimanov
Copy link

spimanov commented Feb 17, 2023

Hi All!
The completion window is shown once I close a comment block in a cpp file.

/* A block comment
 * is here
 */ 
  ^ bump

A quick and dirty solution helped me:

 -- Ignore CPP closing block comments
    accept = accept and not prefix:match('\\*/$')

But I suppose that there might be some issues without proper testing.
Thank you!

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