redguardtoo / evil-matchit

Vim matchit ported into Emacs
GNU General Public License v3.0
284 stars 31 forks source link

jump between inline math #147

Open allenryb opened 1 month ago

allenryb commented 1 month ago

How to use evilmi-jump-items-native jump between inline math of a buffer under LaTeX-mode?

For exmaple, a buffer just include the single line

\(aaa bbb\)

If the cursor is at the beginning, then evilmi-jump-items-native jumps to here \(aa|a bbb\) If the cursor locate before (, that is \|(aaa bbb\), then evilmi-jump-items-native gives an error

evilmi-sdk-scan-sexps: Scan error: "Unbalanced parentheses", 2, 12

It seems the inline math doesn't be detected in both cases.

redguardtoo commented 1 month ago

Could you give me some sample file?