commit da2105c839716d6eade15cfccc433effa0bd647c
parent 1e2f7fd7a96c1dc06538fc8fa30d8a8eafd3f7e9
Author: mrgrouse <mrgrouse@mrgrouse.com>
Date: Thu, 5 Sep 2024 16:57:33 -0400
conform.lua: remove unnecessary language formatters, comment broken languages and remove dependency on stylua mason package
Diffstat:
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua
@@ -6,19 +6,20 @@ return {
conform.setup({
formatters_by_ft = {
- javascript = { "prettier" },
- typescript = { "prettier" },
- javascriptreact = { "prettier" },
- typescriptreact = { "prettier" },
- svelte = { "prettier" },
- css = { "prettier" },
- html = { "prettier" },
json = { "prettier" },
yaml = { "prettier" },
markdown = { "prettier" },
- graphql = { "prettier" },
- lua = { "stylua" },
- python = { "isort", "black" },
+ css = { "ast-grep" },
+ html = { "ast-grep" },
+ c = { "ast-grep" },
+ --c++ = { "ast-grep" },
+ --c# = { "ast-grep" },
+ rust = { "ast-grep" },
+ go = { "ast-grep" },
+ java = { "ast-grep" },
+ javascript = { "ast-grep" },
+ python = { "ast-grep" },
+ lua = { "ast-grep" },
},
--format_on_save = {
-- lsp_fallback = true,