diff options
author | Shougo <Shougo.Matsu@gmail.com> | 2016-06-16 07:43:35 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-16 07:43:35 +0900 |
commit | 922439f1e12584843025da54025b08fd99e53491 (patch) | |
tree | 4e30385d4055fc8ed8745317b5ad005905bba50a | |
parent | eac8020ef6f740df9109fa557b46a488f98103f1 (diff) | |
parent | 856f6a44f4378fb693540476e04df716927dce74 (diff) | |
download | deoplete.nvim-922439f1e12584843025da54025b08fd99e53491.zip |
Merge pull request #289 from paretje/fix-config
Fix buffer config
-rw-r--r-- | rplugin/python3/deoplete/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/util.py b/rplugin/python3/deoplete/util.py index 11a0af5..9f4be0b 100644 --- a/rplugin/python3/deoplete/util.py +++ b/rplugin/python3/deoplete/util.py @@ -19,7 +19,7 @@ def get_buffer_config(context, filetype, buffer_var, user_var, default_var): ft = filetype if (filetype in context['vars'][user_var] or filetype in context['vars'][default_var]) else '_' default = context['vars'][default_var].get(ft, '') - return context['vars'][user_var].get(filetype, default) + return context['vars'][user_var].get(ft, default) def get_simple_buffer_config(context, buffer_var, user_var): |