From 4c68dce81c46ba28e491a7b38246d4267512af17 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Thu, 18 May 2017 08:54:46 +0200 Subject: [PATCH] TASK: Remove unnecessary lines, comparison is done typeless --- rplugin/python3/neotags.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/rplugin/python3/neotags.py b/rplugin/python3/neotags.py index 174a383..b2b7f5e 100644 --- a/rplugin/python3/neotags.py +++ b/rplugin/python3/neotags.py @@ -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(":p")') def update_tags_for_file(self, filename):