diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-12-03 08:40:09 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-12-03 08:40:09 +0900 |
commit | 2349058aa30b13cfce4b1fcc05396055ac9cf447 (patch) | |
tree | cd1169b5cc438d9a8b89124fdc50778a5936fd19 /rplugin | |
parent | 9a5aa6df55d974944b7b49612e33951041725e9f (diff) | |
download | deoplete.nvim-2349058aa30b13cfce4b1fcc05396055ac9cf447.zip |
Fix #1044 max_info_width initialization
Diffstat (limited to 'rplugin')
-rw-r--r-- | rplugin/python3/deoplete/child.py | 3 | ||||
-rw-r--r-- | rplugin/python3/deoplete/context.py | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/rplugin/python3/deoplete/child.py b/rplugin/python3/deoplete/child.py index a32b118..dd514d1 100644 --- a/rplugin/python3/deoplete/child.py +++ b/rplugin/python3/deoplete/child.py @@ -231,8 +231,7 @@ class Child(logger.LoggingMixin): ctx['max_abbr_width']) ctx['max_kind_width'] = min(source.max_kind_width, ctx['max_kind_width']) - ctx['max_info_width'] = min(source.max_info_width, - ctx['max_info_width']) + ctx['max_info_width'] = source.max_info_width ctx['max_menu_width'] = min(source.max_menu_width, ctx['max_menu_width']) if ctx['max_abbr_width'] > 0: diff --git a/rplugin/python3/deoplete/context.py b/rplugin/python3/deoplete/context.py index ff4b649..8369650 100644 --- a/rplugin/python3/deoplete/context.py +++ b/rplugin/python3/deoplete/context.py @@ -44,7 +44,6 @@ class Context(object): 'input': text, 'max_abbr_width': max_width, 'max_kind_width': max_width, - 'max_info_width': max_width, 'max_menu_width': max_width, 'next_input': self._vim.call( 'deoplete#util#get_next_input', event), |