mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-08 20:15:01 +02:00
added prettier for other filetypes in conform
This commit is contained in:
parent
ef39fefcd5
commit
c35e42337a
3 changed files with 10 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
return { -- Autoformat
|
||||
'stevearc/conform.nvim',
|
||||
event = { 'BufWritePre' },
|
||||
event = { 'BufWritePre', 'bufNewFile' },
|
||||
cmd = { 'ConformInfo' },
|
||||
keys = {
|
||||
{
|
||||
|
@ -33,6 +33,13 @@ return { -- Autoformat
|
|||
python = { 'ruff_fix', 'ruff_format', 'ruff_organize_imports' },
|
||||
-- You can use 'stop_after_first' to run the first available formatter from the list
|
||||
javascript = { 'prettierd' },
|
||||
typescript = { 'prettierd' },
|
||||
vue = { 'prettierd' },
|
||||
html = { 'prettierd' },
|
||||
css = { 'prettierd' },
|
||||
json = { 'prettierd' },
|
||||
jsonc = { 'prettierd' },
|
||||
yaml = { 'prettierd' },
|
||||
go = { 'goimports', 'golines' },
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue