diff --git a/plugin/40_plugins.lua b/plugin/40_plugins.lua index 2446561..808a490 100644 --- a/plugin/40_plugins.lua +++ b/plugin/40_plugins.lua @@ -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)