diff options
author | Max Christian Pohle | 2020-02-28 14:21:36 +0100 |
---|---|---|
committer | Max Christian Pohle | 2020-02-28 14:21:36 +0100 |
commit | 1806b1b40739894ee18bef2c071487274cbab3b7 (patch) | |
tree | 3c43f810098943d79c35303f068ac00a97faf1e8 /ftplugin | |
parent | 7ebf9126bcbe10769b2275056fede56736890b59 (diff) | |
download | vim-1806b1b40739894ee18bef2c071487274cbab3b7.tar.bz2 vim-1806b1b40739894ee18bef2c071487274cbab3b7.zip |
Small fixes and adoptions for python[23]
Diffstat (limited to 'ftplugin')
-rw-r--r-- | ftplugin/python.vim | 1 | ||||
-rw-r--r-- | ftplugin/text.vim | 2 |
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 | ||
7 | set formatoptions+=n " When formatting text, recognize numbered lists. | 7 | set formatoptions+=n " When formatting text, recognize numbered lists. |
8 | set formatoptions+=1 " do not break after a one letter word | 8 | set formatoptions+=1 " do not break after a one letter word |
9 | set 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 | ||
11 | set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end) | 11 | set formatoptions+=aw " Automatic formatting of paragraphs (w=only if space in the end) |
12 | 12 | ||