aboutsummaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorMax Christian Pohle2020-02-28 14:21:36 +0100
committerMax Christian Pohle2020-02-28 14:21:36 +0100
commit1806b1b40739894ee18bef2c071487274cbab3b7 (patch)
tree3c43f810098943d79c35303f068ac00a97faf1e8 /ftplugin
parent7ebf9126bcbe10769b2275056fede56736890b59 (diff)
downloadvim-1806b1b40739894ee18bef2c071487274cbab3b7.tar.bz2
vim-1806b1b40739894ee18bef2c071487274cbab3b7.zip
Small fixes and adoptions for python[23]
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/python.vim1
-rw-r--r--ftplugin/text.vim2
2 files changed, 2 insertions, 1 deletions
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
6 6
7set formatoptions+=n " When formatting text, recognize numbered lists. 7set formatoptions+=n " When formatting text, recognize numbered lists.
8set formatoptions+=1 " do not break after a one letter word 8set formatoptions+=1 " do not break after a one letter word
9set formatoptions+=p " Don't break lines at single spaces that follow periods. 9" set formatoptions+=p " Don't break lines at single spaces that follow periods.
10 10
11set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end) 11set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end)
12 12
..