trying to do formatting
This commit is contained in:
parent
d250ccc6e5
commit
b1ebb6076b
2 changed files with 23 additions and 0 deletions
|
|
@ -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,
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue