소스 검색

html format

Thomas 9 달 전
부모
커밋
fca8ace557
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      lua/plugins/conform.lua

+ 2 - 1
lua/plugins/conform.lua

@@ -9,7 +9,8 @@ return {
 				-- Use a sub-list to run only the first available formatter
 				-- Use a sub-list to run only the first available formatter
 				javascript = { { "prettierd", "prettier" } },
 				javascript = { { "prettierd", "prettier" } },
 				rust = { "rustfmt", lsp_format = "fallback" },
 				rust = { "rustfmt", lsp_format = "fallback" },
-        typst = { "typstyle", lsp_format = "last" }
+        typst = { "typstyle", lsp_format = "last" },
+				html = { "prettier", lsp_format = "fallback" },
 			},
 			},
 		})
 		})
 	end,
 	end,