LaTeX module autocompletion breaks without enabling "snippets" module
LukeXuan opened this issue · 1 comments
LukeXuan commented
What were you expecting?
Whatever auto-completion candidate available should work without problem
What actually happened?
In latex-mode
with company
completion enabled: hitting enter
on a completion candidate pops the following error message:
company-call-backend-raw: Company: backend company-capf error "[yas] ‘yas-expand-snippet’ needs properly setup ‘yas-minor-mode’" with args (post-completion includegraphics)
This problem seems to be caused by three factors:
yasnippets
is recursively imported bycompany-auctex
,yasnippets
is not properly configured becausesnippets
is not enabled,company-yas
is included in company backends indiscriminately (this seems to be a problem for more than justlatex-mode
)
Steps to reproduce
- enable
latex
andcompany
module, disablesnippets
module - try auto-completion in
latex-mode
Operating system
Fedora 39
Emacs version
Emacs 29.3 pgtk+nativecomp (custom built)
Installed commit of doom-snippets
N/A
LukeXuan commented
Sorry, issued opened in the wrong repo...