Mercurial > vim
comparison runtime/autoload/pythoncomplete.vim @ 22565:17c4178f26ea
Update runtime files.
Commit: https://github.com/vim/vim/commit/4f4d51a942cc2c6b3e936ee0f93f00c2d000065c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 11 13:57:40 2020 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 11 Oct 2020 14:00:05 +0200 |
parents | ffad29dc7eee |
children | 11b656e74444 |
comparison
equal
deleted
inserted
replaced
22564:2e79e579dd52 | 22565:17c4178f26ea |
---|---|
1 "pythoncomplete.vim - Omni Completion for python | 1 "pythoncomplete.vim - Omni Completion for python |
2 " Maintainer: Aaron Griffin <aaronmgriffin@gmail.com> | 2 " Maintainer: <vacancy> |
3 " Previous Maintainer: Aaron Griffin <aaronmgriffin@gmail.com> | |
3 " Version: 0.9 | 4 " Version: 0.9 |
4 " Last Updated: 18 Jun 2009 | 5 " Last Updated: 2020 Oct 9 |
5 " | 6 " |
6 " Changes | 7 " Changes |
7 " TODO: | 8 " TODO: |
8 " 'info' item output can use some formatting work | 9 " 'info' item output can use some formatting work |
9 " Add an "unsafe eval" mode, to allow for return type evaluation | 10 " Add an "unsafe eval" mode, to allow for return type evaluation |
79 continue | 80 continue |
80 elseif strlen(cword) > 0 || idx == 0 | 81 elseif strlen(cword) > 0 || idx == 0 |
81 break | 82 break |
82 endif | 83 endif |
83 endwhile | 84 endwhile |
84 execute "python vimcomplete('" . cword . "', '" . a:base . "')" | 85 execute "python vimcomplete('" . escape(cword, "'") . "', '" . escape(a:base, "'") . "')" |
85 return g:pythoncomplete_completions | 86 return g:pythoncomplete_completions |
86 endif | 87 endif |
87 endfunction | 88 endfunction |
88 | 89 |
89 function! s:DefPython() | 90 function! s:DefPython() |