Following the instructions, the tinymist configuration (based on Neovim) for formatting should be:
{
"lsp": {
"tinymist": {
"settings": {
"formatterMode": "typstyle",
"formatterPrintWidth": 80,
},
},
},
}
It was working before but then I realized that zed is not properly formatting my document.
I check my settings.json, change from "typstyle" to "typstfmt", then save it and it show a message about prettier so I force zed to use the language server based on this so my new settings.json look like:
{
"formatter": "language_server",
"lsp": {
"tinymist": {
"settings": {
"formatterMode": "typstyle",
"formatterPrintWidth": 80,
},
},
},
}
but anyways it's still not working., any ideas?
Following the instructions, the tinymist configuration (based on Neovim) for formatting should be:
{ "lsp": { "tinymist": { "settings": { "formatterMode": "typstyle", "formatterPrintWidth": 80, }, }, }, }It was working before but then I realized that zed is not properly formatting my document.
I check my settings.json, change from
"typstyle"to"typstfmt", then save it and it show a message about prettier so I force zed to use the language server based on this so my new settings.json look like:{ "formatter": "language_server", "lsp": { "tinymist": { "settings": { "formatterMode": "typstyle", "formatterPrintWidth": 80, }, }, }, }but anyways it's still not working., any ideas?