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

How to turn off suggestions in comment? #52

Closed
sid-kap opened this issue Oct 11, 2015 · 3 comments
Closed

How to turn off suggestions in comment? #52

sid-kap opened this issue Oct 11, 2015 · 3 comments

Comments

@sid-kap
Copy link

sid-kap commented Oct 11, 2015

Hi,

I'm working on a cpp file, and when I'm typing a comment, I see suggestions. Is there a way to turn off suggestions when I'm typing in a comment block?

@Shougo
Copy link
Owner

Shougo commented Oct 11, 2015

Nothing.
I think it is hard to detect comment region and disable auto completion in comment region is useless.

@Shougo Shougo closed this as completed Oct 11, 2015
@sid-kap
Copy link
Author

sid-kap commented Oct 11, 2015

Can't we find out whether we're in a comment section from the syntax highlighting?

@Shougo
Copy link
Owner

Shougo commented Oct 12, 2015

Yes, it can be detected.
I have implemented it in neocomplcache and neocomplete.
But it is slow and I think it is not useful.

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

2 participants