Skip to content

Commit

Permalink
replace deprecated format of option of conform
Browse files Browse the repository at this point in the history
  • Loading branch information
pandanoir authored Jul 22, 2024
1 parent af41190 commit 539b667
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions nvim/lua/plugins/others.lua
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,11 @@ return {
biome = { require_cwd = true },
},
formatters_by_ft = {
javascript = { { 'prettier', 'biome' } },
typescript = { { 'prettier', 'biome' } },
typescriptreact = { { 'prettier', 'biome' } },
vue = { { 'prettier', 'biome' } },
['*'] = { 'injected', lsp_format = 'last' },
javascript = { 'prettier', 'biome', stop_after_first = true },
typescript = { 'prettier', 'biome', stop_after_first = true },
typescriptreact = { 'prettier', 'biome', stop_after_first = true },
vue = { 'prettier', 'biome', stop_after_first = true },
lua = { 'stylua' },
},
format_on_save = {
Expand Down

0 comments on commit 539b667

Please sign in to comment.