From 13eabb65bd95c0e7d3df67918c7341da171e2afc Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Fri, 30 Dec 2022 09:31:31 -0800 Subject: [PATCH] Override python formatter with black --- nvim/.config/nvim/plugins.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/plugins.vim b/nvim/.config/nvim/plugins.vim index e56bd5b..225b1a5 100644 --- a/nvim/.config/nvim/plugins.vim +++ b/nvim/.config/nvim/plugins.vim @@ -117,7 +117,10 @@ nnoremap :call fzf#run({ \ 'down': len(buflist()) + 2 \ }) -" Neoformat +" ---------- Neoformat ---------- +" Override python formatter +let g:neoformat_enabled_python=['black'] + " Enable alignment let g:neoformat_basic_format_align = 1