Fix black / isort
This commit is contained in:
parent
a26f520fc7
commit
2bf8852c9e
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require('nvim-format-buffer').setup({
|
|||
verbose = false,
|
||||
format_rules = {
|
||||
{ pattern = { '*.c', '*.h' }, command = 'clang-format' },
|
||||
{ pattern = { '*.py', '*.pyi' }, command = 'black -q --stdin-filename % - | isort -q -' },
|
||||
{ pattern = { '*.py', '*.pyi' }, command = 'black -q --stdin-filename % - 2>/dev/null | isort -q - 2>/dev/null' },
|
||||
{
|
||||
pattern = { '*.js', '*.ts', '*.tsx', '*.vue', '*.css' },
|
||||
command = function()
|
||||
|
|
Loading…
Reference in a new issue