JunoLab / atom-latex-completions

Easy Unicode input for Atom
MIT License
40 stars 7 forks source link

auto-complete inside escaped bracelet in markdown #41

Closed AstrickHarren closed 4 years ago

AstrickHarren commented 4 years ago

I am using the markdown grammar package language-markdown while trying to covert latex math commands into unicode. Strangely when the cursor is put between a escaped bracelets in the (inline and/or display) math mode, the autocompletion suggestion does not pop up.

$\{\alpha\}$

as this \alpha does not activate completion suggestions. It still provokes suggestions from snippets with .text.md scope and the built-in autocomplete-plus though.

pfitzseb commented 4 years ago

I can't repro this: image

Are you sure you set the editor language correctly?

AstrickHarren commented 4 years ago

Problem solved. Think it was because language-markdown renders its math grammar with language-latex, and that .latex is in the default disable selector of latex-completions. The auto-fill pumped up again after enabling .latex.