Closed ivaquero closed 11 months ago
Hey there :)
thanks for the report, could you provide the string tested and the result after please?
Sure. The string tested
#h(2em) 构建系统(build system),又称构建器,是用来从源代码生成用户可以使用的目标(targets)的自动化工具。目标可以包括库、可执行文件、或者生成的脚本等等。
the result after
#h(2em) 构建系统(build
system),又称构建器,是用来从源代码生成用户可以使用的目标(targets)的自动化工具。目标可以包括库、可执行文件、或者生成的脚本等等。
Thank you
If I understand correctly, your problem is the inserted newline after build?
If so, have you tried setting line_wrap = false
in your config file?
You are right line_wrap = false
works. Thank you!
However, I would like to report another issue. https://github.com/astrale-sharp/typstfmt/issues/134
Sure! I'll go ahead and close this one!
[x] I have tested with the master version of typstfmt and not just typst-lsp
Describe the bug In a Chinese doc, there are blank spaces between English letters and Chinese characters, howerever, typstfmt replaces these blank spaces in line with new lines.
Please, make "replace blank spaces in line with new lines" an optional.
To Reproduce Steps to reproduce the behavior: