TASK: Remove unnecessary lines, comparison is done typeless

This commit is contained in:
Daniel Siepmann 2017-05-18 08:54:46 +02:00
parent 0b459e5d6e
commit 4c68dce81c
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -26,12 +26,6 @@ class NeotagsPlugin(object):
except neovim.api.nvim.NvimError:
self.options[option] = default
variable = 'neotags_%s' % option
try:
self.options[option] = bool(self.nvim.vars[variable])
except neovim.api.nvim.NvimError:
self.options[option] = False
# Check whether 'FileWritePost' is necessary
@neovim.autocmd('BufWritePost', pattern='*', eval='expand("<afile>:p")')
def update_tags_for_file(self, filename):