From 1806b1b40739894ee18bef2c071487274cbab3b7 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Fri, 28 Feb 2020 14:21:36 +0100 Subject: Small fixes and adoptions for python[23] --- ftplugin/python.vim | 1 + ftplugin/text.vim | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 ftplugin/python.vim (limited to 'ftplugin') diff --git a/ftplugin/python.vim b/ftplugin/python.vim new file mode 100644 index 0000000..1268957 --- /dev/null +++ b/ftplugin/python.vim @@ -0,0 +1 @@ +let &path=system('python -c "import sys; print(\",\".join(sys.path))"') diff --git a/ftplugin/text.vim b/ftplugin/text.vim index 0336a13..9097834 100644 --- a/ftplugin/text.vim +++ b/ftplugin/text.vim @@ -6,7 +6,7 @@ set autoindent nosmartindent nocindent set formatoptions+=n " When formatting text, recognize numbered lists. set formatoptions+=1 " do not break after a one letter word -set formatoptions+=p " Don't break lines at single spaces that follow periods. +" set formatoptions+=p " Don't break lines at single spaces that follow periods. set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end) -- cgit v1.2.3