Replace autopep8 by ruff formatter
This commit is contained in:
parent
06e1bd1c2e
commit
a4b9fc3cf9
@ -13,13 +13,16 @@ return {
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "python",
|
||||
callback = function()
|
||||
vim.g.neoformat_python_autopep8 = {
|
||||
exe = 'autopep8',
|
||||
args = {'--max-line-length', '79', '--experimental'},
|
||||
-- replace = 1
|
||||
}
|
||||
-- vim.g.neoformat_python_autopep8 = {
|
||||
-- exe = 'autopep8',
|
||||
-- args = {'--max-line-length', '79', '--experimental'},
|
||||
-- -- replace = 1
|
||||
-- }
|
||||
-- vim.g.neoformat_enabled_python = {
|
||||
-- 'autopep8'
|
||||
-- }
|
||||
vim.g.neoformat_enabled_python = {
|
||||
'autopep8'
|
||||
'ruff'
|
||||
}
|
||||
end
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user