diff options
| author | Skladnayazebra <skladnayazebra@gmail.com> | 2026-08-20 13:33:13 +0200 |
|---|---|---|
| committer | Skladnayazebra <skladnayazebra@gmail.com> | 2026-08-20 13:33:13 +0200 |
| commit | 4d7ec28ba0a4939425c0e015d4bcf782f72e3ce1 (patch) | |
| tree | d56c8568d8a55353b3aff4746fd2649591d0c134 /nvim/lua/config | |
| parent | 2353aa70ca2d77ac2e8511345accef1d3c85555f (diff) | |
nvim: add tsx and jsx formatting
Diffstat (limited to 'nvim/lua/config')
| -rw-r--r-- | nvim/lua/config/formatters.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nvim/lua/config/formatters.lua b/nvim/lua/config/formatters.lua index 3d7121c..c002d98 100644 --- a/nvim/lua/config/formatters.lua +++ b/nvim/lua/config/formatters.lua @@ -4,6 +4,8 @@ require("conform").setup({ -- npm install -g @fsouza/prettierd javascript = { "prettierd", "prettier", stop_after_first = true }, typescript = { "prettierd", "prettier", stop_after_first = true }, + javascriptreact = { "prettierd", "prettier", stop_after_first = true }, + typescriptreact = { "prettierd", "prettier", stop_after_first = true }, json = { "prettierd", "prettier", stop_after_first = true }, html = { "prettierd", "prettier", stop_after_first = true }, yaml = { "prettierd", "prettier", stop_after_first = true }, |
