tth05 / obsidian-completr

Auto-completion plugin for the obsidian editor.
MIT License
303 stars 18 forks source link

LaTeX completion will be triggered after the certain line number #7

Closed zcysxy closed 2 years ago

zcysxy commented 2 years ago

Thanks for this fantastic plugin; the LaTeX auto-completion is the killer feature to me. If I'm not mistaken, the correct logic is that LaTeX completion is only triggered in the math environment, i.e., between dollar signs. However, I found that the LaTeX completion will be triggered after the certain line number: 50 on my end. Here's a git demonstrates it

demo

Please let me know if this is a bug or the intended behavior.

tth05 commented 2 years ago

Well, this was something I want to prevent by writing a new LaTeX block scanner, but then still wrote it in a way where this happens ... Fixed in df029ed78edd6ce1ffeaeeb71d497fed3e8da5fa