Closed nikosavola closed 8 months ago
Created PR here https://github.com/sbdchd/neoformat/pull/484
For now you can extend vim config with:
let g:neoformat_python_ruff = {
\ 'exe': 'ruff',
\ 'stdin': 1,
\ 'args': ['format', '-q', '-'],
\ }
let g:neoformat_enabled_python = ['ruff']
@nikosavola PR is merged, so I suppose the issue can be closed
Ruff now supports a formatter that can be used as a replacement for black. It could be added to https://github.com/sbdchd/neoformat/blob/master/autoload/neoformat/formatters/python.vim