Files
neovim_conf/lua/configs/tinymist.lua
2025-10-05 16:58:08 +03:00

22 lines
582 B
Lua

local M = {}
M.setup = function()
local lspconfig = require("lspconfig")
lspconfig.tinymist.setup {
cmd = { vim.fn.stdpath("data") .. "/mason/bin/tinymist" },
on_attach = require("nvchad.configs.lspconfig").on_attach,
capabilities = require("nvchad.configs.lspconfig").capabilities,
filetypes = { "typ", "typst" },
settings = {
export = {
pdf = "onSave", -- or "onType", "never"
png = "never",
},
-- Other tinymist specific settings
},
}
end
return M