fix: add biome back for typescript and jq for json

This commit is contained in:
Job Jobse
2026-09-01 21:34:17 +02:00
parent 241c2074d3
commit 2c429163b8
+6 -1
View File
@@ -29,7 +29,7 @@ Config.now_if_args(function()
Config.autocmd('FileType', filetypes, function(ev)
if pcall(vim.treesitter.start, ev.buf) then
if vim.bo[ev.buf].filetype == 'php' then
-- fixes broken indentation on `o` in php buffers
-- Fixes broken indentation on `o` in php buffers
vim.bo[ev.buf].indentexpr = "v:lua.require'nvim-treesitter'.indentexpr()"
end
end
@@ -76,6 +76,11 @@ Config.now_if_args(function()
formatters_by_ft = {
go = { "gofumpt", "goimports" },
php = { "php_cs_fixer" },
json = { "jq" },
javascript = { "biome" },
typescript = { "biome" },
javascriptreact = { "biome" },
typescriptreact = { "biome" },
},
})
end)