I have recently setup vimtex and YCM as the associated autocompleter. These work great in their intended scenario, however I believe the autocompleter is giving suggestions when I am typing plain text and I want to avoid that. It is causing some lag and I want to get rid of them.
Is there anyway to set up vimtex with YCM so that I do not get suggestions when typing plain text?
EDIT: To clarify I want to configure YCM (if possible) so that in a *.tex file:
- I do not have autocomplete popups for plain text.
- I would only like popups for LaTeX specific syntax to appear, e.g, commands, environments, labels, etc.