From ce46f3571b2c08922fb09d71d24bd1a8287f0c3b Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 31 Aug 2023 11:16:35 +0000 Subject: [PATCH] home: vim: restore python configuration This is a partial revert of 260f5cd66ac78e8626d6d509ef10ee8cd669845d, which erroneously removed this config. --- home/vim/after/ftplugin/python.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 home/vim/after/ftplugin/python.vim diff --git a/home/vim/after/ftplugin/python.vim b/home/vim/after/ftplugin/python.vim new file mode 100644 index 0000000..e7232a8 --- /dev/null +++ b/home/vim/after/ftplugin/python.vim @@ -0,0 +1,6 @@ +" Create the `b:undo_ftplugin` variable if it doesn't exist +call ftplugined#check_undo_ft() + +" Change max length of a line to 88 for this buffer to match black's settings +setlocal colorcolumn=88 +let b:undo_ftplugin.='|setlocal colorcolumn<'