Update access to variables
This commit is contained in:
parent
61bf47d24b
commit
65a95c9dd1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class NeotagsPlugin(object):
|
|||
for option, default in self.options.items():
|
||||
try:
|
||||
variable = 'neotags_%s' % option
|
||||
self.options[option] = self.nvim.vars[variable]
|
||||
self.options[option] = self.nvim.eval('g:%s' % variable)
|
||||
except pynvim.api.nvim.NvimError:
|
||||
self.options[option] = default
|
||||
|
||||
|
|
Loading…
Reference in a new issue