jbyuki / nabla.nvim

take your scientific notes :pencil2: in Neovim
MIT License
581 stars 17 forks source link

wrongly parsed equations #40

Closed max397574 closed 1 year ago

max397574 commented 1 year ago

here are some equations which aren't parse correctly

max397574 commented 1 year ago

$k{\cdot}\vec{a}$ gives an error when I'm on k with the cursor: Empty expression detected. Please use the $...$ syntax.

When I'm at a different place: .../ascii.lua:3813: attempt to index local 'rightgrid' (a nil value) notice that it works if I replace the {} around \cdot with spaces (or in this case with nothing) (I got the {} so no space is needed when variable names (e.g. a) are used directly after it)

max397574 commented 1 year ago

$\mathbb{R}^2 gives an error when on \: Empty expression detected. Please use the $...$ syntax.

and otherwise it shows the wrong thing: Screenshot 2022-10-08 at 13 20 30 (not squared)

max397574 commented 1 year ago

thank you very much