conform changes
This commit is contained in:
parent
22c627afc7
commit
e81cc49ecf
21
init.lua
21
init.lua
@ -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' },
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user