Closed Mc-Zen closed 1 month ago
looks nice, it can also be simply implemented, but I wonder whether typstyle will remove the empty indents. This might introduce some inharmony.
Do you mean whether it will remove them immediately? Is the formatter (if activated) called automatically?
Do you mean whether it will remove them immediately? Is the formatter (if activated) called automatically?
Yes.
It is actually not formatter's fault. Typst's parser thinks that $ $
is inline equation for some reason. If it is fixed, formatter should work out of the box. see linked issue above https://github.com/typst/typst/issues/4791
Nice!
Amazing, thank you!
Thanks for this awesome LSP! I love it.
I want to suggest that hitting
Enter
after inserting a$
producesjust as with
{
,(
, or[
. This would greatly improve the workflow of writing display style equations. As specific usecase I have longer and more complex equations in mind that require multiple lines. Or just to improve source code readability by setting block equations visually apart from the text.This feature could also be an option that can be turned on or off.