LazyVim / LazyVim/lazyvim.github.io
Lazy Extra Typst uses outdated Typst Version
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 99
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Description
With the used lsp configuration, an older typst/tinymist version 0.13.1 is used. The current one is 0.14.2
I changed the lsp config in this way so that it is forced to use my tinymist version.
{
"neovim/nvim-lspconfig",
opts = {
servers = {
tinymist = {
cmd = { vim.fn.exepath("tinymist") }, -- or full path to the tinymist server executable
keys = {
{
"<leader>cP",
function()
local buf_name = vim.api.nvim_buf_get_name(0)
local file_name = vim.fn.fnamemodify(buf_name, ":t")
LazyVim.lsp.execute({
title = "Pin Main",
filter = "tinymist",
command = "tinymist.pinMain",
arguments = { buf_name },
})
LazyVim.info("Tinymist: Pinned " .. file_name)
end,
desc = "Pin main file",
},
},
single_file_support = true, -- Fixes LSP attachment in non-Git directories
settings = {
formatterMode = "typstyle",
typst = { path = vim.fn.exepath("typst") }, -- if server accepts this
},
},
},
},
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Lazy Extra LSP configuration for tinymist and inspect how its version is selected. Compare that source with the 0.13.1 version reported in the issue, then verify the configuration uses the current supported version and that tinymist still attaches and formats Typst files.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100