aboutsummaryrefslogtreecommitdiff
path: root/runtime/ftplugin/python.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2018-10-28 14:02:09 +0100
committerJustin M. Keyes <justinkz@gmail.com>2018-10-28 14:05:14 +0100
commit1a51524ad540da00736027313cd89747c86c1690 (patch)
tree57b271e1b20e2727660bffaa119b63c927e3ec97 /runtime/ftplugin/python.vim
parent8d743d02f229aeed600bbc9a15736ad9e7be9507 (diff)
downloadrneovim-1a51524ad540da00736027313cd89747c86c1690.tar.gz
rneovim-1a51524ad540da00736027313cd89747c86c1690.tar.bz2
rneovim-1a51524ad540da00736027313cd89747c86c1690.zip
vim-patch:40962ec9c0e7
Update runtime files. https://github.com/vim/vim/commit/40962ec9c0e7b8699e101182b06ddd39dc0e1212
Diffstat (limited to 'runtime/ftplugin/python.vim')
-rw-r--r--runtime/ftplugin/python.vim5
1 files changed, 4 insertions, 1 deletions
diff --git a/runtime/ftplugin/python.vim b/runtime/ftplugin/python.vim
index 54926418de..56f19cb323 100644
--- a/runtime/ftplugin/python.vim
+++ b/runtime/ftplugin/python.vim
@@ -3,7 +3,7 @@
" Maintainer: Tom Picton <tom@tompicton.co.uk>
" Previous Maintainer: James Sully <sullyj3@gmail.com>
" Previous Maintainer: Johannes Zellner <johannes@zellner.org>
-" Last Change: Thur, 09 November 2017
+" Last Change: Wed, 20 December 2017
" https://github.com/tpict/vim-ftplugin-python
if exists("b:did_ftplugin") | finish | endif
@@ -20,6 +20,9 @@ setlocal comments=b:#,fb:-
setlocal commentstring=#\ %s
setlocal omnifunc=pythoncomplete#Complete
+if has('python3')
+ setlocal omnifunc=python3complete#Complete
+endif
set wildignore+=*.pyc