conform changes

This commit is contained in:
ZaneFerns360 2024-07-27 16:59:02 +05:30
parent 22c627afc7
commit e81cc49ecf

View File

@ -264,7 +264,6 @@ require('lazy').setup({
{ 'numToStr/Comment.nvim', opts = {} }, { 'numToStr/Comment.nvim', opts = {} },
-- Here is a more advanced example where we pass configuration -- Here is a more advanced example where we pass configuration
-- options to `gitsigns.nvim`. This is equivalent to the following Lua: -- options to `gitsigns.nvim`. This is equivalent to the following Lua:
-- require('gitsigns').setup({ ... }) -- require('gitsigns').setup({ ... })
@ -738,16 +737,16 @@ require('which-key').add {
-- --
-- You can use a sub-list to tell conform to run *until* a formatter -- You can use a sub-list to tell conform to run *until* a formatter
-- is found. -- is found.
javascript = { { 'prettierd', 'prettier' } }, javascript = { 'prettierd', 'prettier', stop_after_first = true },
typescript = { { 'prettierd', 'prettier' } }, typescript = { 'prettierd', 'prettier', stop_after_first = true },
javascriptreact = { { 'prettierd', 'prettier' } }, javascriptreact = { 'prettierd', 'prettier', stop_after_first = true },
typescriptreact = { { 'prettierd', 'prettier' } }, typescriptreact = { 'prettierd', 'prettier', stop_after_first = true },
css = { { 'prettierd', 'prettier' } }, css = { 'prettierd', 'prettier', stop_after_first = true },
scc = { { 'prettierd', 'prettier' } }, scc = { 'prettierd', 'prettier', stop_after_first = true },
html = { { 'prettierd', 'prettier' } }, html = { 'prettierd', 'prettier', stop_after_first = true },
python = { { 'ruff_format' } }, python = { 'ruff_format' },
c = { { 'clang_format' } }, c = { 'clang_format' },
cpp = { { 'clang_format' } }, cpp = { 'clang_format' },
}, },
}, },
}, },