Add experimental support for blade treesitter.

This commit is contained in:
aleidk 2023-11-10 15:59:14 -03:00
parent 6141e5a31f
commit 0404494c8a
5 changed files with 28 additions and 2 deletions

View file

@ -9,6 +9,7 @@ return {
lua = { "stylua" },
python = { "blue" },
-- Use a sub-list to run only the first available formatter
json = { { "prettierd", "prettier" } },
javascript = { { "prettierd", "prettier" } },
typescript = { { "prettierd", "prettier" } },
javascriptreact = { { "prettierd", "prettier" } },
@ -24,7 +25,7 @@ return {
if vim.g.disable_autoformat or vim.b[bufnr].disable_autoformat then
return
end
return { timeout_ms = 500, lsp_fallback = true }
return { timeout_ms = 2000, lsp_fallback = true }
end,
},
config = function(_, opts)