Myriad-Dreamin / tinymist

Tinymist [ˈtaɪni mɪst] is an integrated language service for Typst [taɪpst].
https://myriad-dreamin.github.io/tinymist
Apache License 2.0
494 stars 25 forks source link

Neovim `preview` setting #484

Closed ioplju closed 2 weeks ago

ioplju commented 1 month ago

I don't understand what is the preview setting.

The preview setting documentation indicates it's a string but there are preview.X settings too which indicates that preview is also a table.

Myriad-Dreamin commented 1 month ago

You can ignore them. They are configurations generated from https://github.com/Myriad-Dreamin/tinymist/blob/main/editors/vscode/package.json. I'll remove them from neovim documentation.

https://github.com/Myriad-Dreamin/tinymist/blob/0134de41c15428eecb84c21e6fe425ebf21e9ba8/editors/vscode/package.json#L197-L339

If you are looking for the preview feature, you could check typst-preview.nvim, utilizing tinymist preview command.

ioplju commented 1 month ago

I had set up all of preview.X settings like a table and I thought they were working with typst-preview, but that's also typst-preview default settings. My fault.

About documentation, it would be nice to add the support for formatters in the main README.

I could help with the doc if you need.