Closed lamabro23 closed 2 years ago
Try :echo eval('vimtex#re#deoplete')
in your vim.
This is the output:
\\(?:(?:\w*cite|Cite)\w*\*?(?:\s*\[[^]]*\]){0,2}\s*{[^}]*|(?:\w*cites|Cites)(?:\s*\([^)]*\)){0,2}(?:(?:\s*\[[^]]*\]){0,2}\s*\{[^}]*\})*(?:\s*\[[^]]*\]){0,2}\s*\{[^}]*|bibentry\s*{[^}]*|(text|block)cquote\*?(?:\s*\[[^]]*\]){0,2}\s*{[^}]*
|(for|hy)\w*cquote\*?{[^}]*}(?:\s*\[[^]]*\]){0,2}\s*{[^}]*|defbibentryset{[^}]*}{[^}]*|\w*ref(?:\s*\{[^}]*|range\s*\{[^,}]*(?:}{)?)|hyperref\s*\[[^]]*|includegraphics\*?(?:\s*\[[^]]*\]){0,2}\s*\{[^}]*|(?:include(?:only)?|input|subfile)\
s*\{[^}]*|([cpdr]?(gls|Gls|GLS)|acr|Acr|ACR)[a-zA-Z]*\s*\{[^}]*|(ac|Ac|AC)\s*\{[^}]*|includepdf(\s*\[[^]]*\])?\s*\{[^}]*|includestandalone(\s*\[[^]]*\])?\s*\{[^}]*|(usepackage|RequirePackage|PassOptionsToPackage)(\s*\[[^]]*\])?\s*\{[^}]
*|documentclass(\s*\[[^]]*\])?\s*\{[^}]*|begin(\s*\[[^]]*\])?\s*\{[^}]*|end(\s*\[[^]]*\])?\s*\{[^}]*|\w*)
The vimtex plugin not exists in your vim's rtp for some reason, it's expected result.
You may need to configure coc.source.vimtex.filetypes
I put this in my coc-settings.json when I started using this extension (and it was working until not):
"coc.source.vimtex.filetypes": [ "tex", "plaintex", "latex" ]
I tried to remove all but the tex extension from that, but no change.
When I run :echo &rtp
, the returned string contains the path to vimtex as well.
Is there some change in the newer updates that could cause this behavior?
The extension stopped working for me after the recent update to version 1.1.2.
Every time I open a .tex file, the
[coc.nvim] vimtex not loaded, please check your runtimepath
error message pops up.:CocOpneLog
output:The issue is gone after downgrading to a version <1.1.1.