From 3577f799b7b7087ef3d4b03ac22fdd19aebcd092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sun, 23 Jul 2023 00:37:21 +0200 Subject: [PATCH] Added the Neoformat for pythonfiles --- .config/nvim/init.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 05b267e..ded6e37 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -599,6 +599,7 @@ let g:shfmt_opt="-ci" " Python autocmd BufRead,BufNewFile *.py set textwidth=0 autocmd BufRead,BufNewFile *.py set fo-=t +autocmd BufWritePre * silent! undojoin | Neoformat black " Newsboat autocmd BufRead,BufNewFile urls set textwidth=0