trying to do formatting

This commit is contained in:
vince 2024-06-19 17:13:19 +02:00
parent d250ccc6e5
commit b1ebb6076b
2 changed files with 23 additions and 0 deletions

View file

@ -10,4 +10,15 @@ return {
vim.cmd 'Copilot setup'
end,
},
{
'sbdchd/neoformat',
cmd = 'Neoformat',
config = function()
vim.g.neoformat_enabled_javascript = { 'prettier' }
vim.g.neoformat_enabled_python = { 'black' }
vim.g.neoformat_enabled_typescript = { 'prettier' }
vim.g.neoformat_enabled_yaml = { 'prettier' }
vim.g.neoformat_run_on_save = 1
end,
},
}