diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | autoload/deoplete/init.vim | 2 | ||||
-rw-r--r-- | doc/deoplete.txt | 10 | ||||
-rw-r--r-- | rplugin/python3/deoplete/deoplete.py | 2 |
4 files changed, 10 insertions, 6 deletions
@@ -82,7 +82,7 @@ If Deoplete was installed prior to Python support being added to Neovim, `:UpdateRemotePlugins` should be executed manually in order to enable auto-completion. -**Note: deoplete needs neovim-python ver.0.2.4+.** +**Note: deoplete needs neovim-python ver.0.3.0+.** You need update neovim-python module. diff --git a/autoload/deoplete/init.vim b/autoload/deoplete/init.vim index 12f6065..ce28db7 100644 --- a/autoload/deoplete/init.vim +++ b/autoload/deoplete/init.vim @@ -211,7 +211,7 @@ function! deoplete#init#_option() abort \ 'ignore_case': &ignorecase, \ 'ignore_sources': {}, \ 'max_list': 500, - \ 'num_processes': has('win32') ? 1 : 4, + \ 'num_processes': 4, \ 'keyword_patterns': {'_': '[a-zA-Z_]\k*'}, \ 'omni_patterns': {}, \ 'on_insert_enter': v:true, diff --git a/doc/deoplete.txt b/doc/deoplete.txt index 8b7ce7a..e14a1c8 100644 --- a/doc/deoplete.txt +++ b/doc/deoplete.txt @@ -66,7 +66,7 @@ You can enable Python3 interface with pip: > pip3 install --user pynvim -Note: deoplete needs neovim-python ver.0.2.4+. +Note: deoplete needs neovim-python ver.0.3.0+. You need update neovim-python module. > pip3 install --user --upgrade pynvim @@ -192,7 +192,7 @@ num_processes If it is less than or equal to 0, the number of processes is equal to that of sources. - Default value: 1 (Windows) or 4 (Others) + Default value: 4 *deoplete-options-omni_patterns* omni_patterns @@ -1439,7 +1439,7 @@ It is workaround. > call deoplete#custom#option('num_processes', 1) -Q: "[deoplete] neovim-python 0.2.4+ is required." error +Q: "[deoplete] neovim-python 0.3.0+ is required." error https://github.com/Shougo/deoplete.nvim/issues/694 A: You must upgrade neovim-python client. > @@ -1678,6 +1678,10 @@ A: https://github.com/zchee/deoplete-jedi/issues/35 ============================================================================== COMPATIBILITY *deoplete-compatibility* +2018.12.24 +* neovim-python 0.3.0+ is needed for asyncio feature. +* Change deoplete-options-num_processes default value in Windows. + 2018.12.10 * Remove async_timeout option. diff --git a/rplugin/python3/deoplete/deoplete.py b/rplugin/python3/deoplete/deoplete.py index 9f4f77e..b6cfe26 100644 --- a/rplugin/python3/deoplete/deoplete.py +++ b/rplugin/python3/deoplete/deoplete.py @@ -34,7 +34,7 @@ class Deoplete(logger.LoggingMixin): 'num_processes') if self._max_parents != 1 and not hasattr(self._vim, 'loop'): - msg = ('pynvim 0.2.4+ is required for %d parents. ' + msg = ('pynvim 0.3.0+ is required for %d parents. ' 'Using single process.' % self._max_parents) error(self._vim, msg) self._max_parents = 1 |