From 30e5c081298047f14aa0727cdaee61cd062b0e40 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 17 Oct 2024 00:59:39 -0700 Subject: [PATCH] feat: improve web dev setup --- lua/lsp/init.lua | 2 ++ lua/plugins/conform.lua | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lua/lsp/init.lua b/lua/lsp/init.lua index 715dcbd..527d466 100644 --- a/lua/lsp/init.lua +++ b/lua/lsp/init.lua @@ -59,6 +59,8 @@ M.setup = function() }) lspconfig.marksman.setup({}) lspconfig.tinymist.setup({}) + lspconfig.svelte.setup({}) + lspconfig.tailwindcss.setup({}) end return M diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua index 8db2c84..7c829fd 100644 --- a/lua/plugins/conform.lua +++ b/lua/plugins/conform.lua @@ -60,6 +60,8 @@ return { toml = { "taplo", stop_after_first = true }, yaml = { "prettierd", "prettier", stop_after_first = true }, typst = { "typstyle" }, + tsx = { "prettier" }, + svelte = { "prettier" }, }, })