add config

This commit is contained in:
nik
2025-10-05 16:58:08 +03:00
parent 61fc1ec1ba
commit 6b1626bb41
19 changed files with 1022 additions and 0 deletions

21
lua/configs/tinymist.lua Normal file
View File

@@ -0,0 +1,21 @@
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