Lazy Extra Typst uses outdated Typst Version
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 55/100
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.
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
},
},
},
},
- Dominant language
- Lua
- Stars
- 99
- Forks
- 136
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
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.
More from LazyVim/lazyvim.github.io
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
LazyVim/lazyvim.github.io#146 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
LazyVim/lazyvim.github.io#119 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
LazyVim/lazyvim.github.io#171 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
LazyVim/lazyvim.github.io#154 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
LazyVim/lazyvim.github.io#123 ·
All issues in LazyVim/lazyvim.github.io
Similar issues
-
Zenmap CrashOpenZenmap
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
solana-foundation/pay-kit#341 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100