From e701dd06ea10b22536829e0a498431133183c401 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Fri, 25 Feb 2022 19:14:18 +0100 Subject: [PATCH] home: vim: make python formatting faster --- home/vim/after/ftplugin/python.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/vim/after/ftplugin/python.vim b/home/vim/after/ftplugin/python.vim index a2aebc0..ffc0327 100644 --- a/home/vim/after/ftplugin/python.vim +++ b/home/vim/after/ftplugin/python.vim @@ -8,7 +8,9 @@ null_ls.register({ null_ls.builtins.diagnostics.flake8, null_ls.builtins.diagnostics.mypy, null_ls.builtins.diagnostics.pylint, - null_ls.builtins.formatting.black, + null_ls.builtins.formatting.black.with({ + extra_args = { "--fast" }, + }), null_ls.builtins.formatting.isort, }) EOF