From 61af839867d057180e9e7aaec2bd9c8f2d24dba4 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Mon, 7 Aug 2017 08:47:58 +0200 Subject: [PATCH] BUGFIX: Allow Python < 3.5 to work As run method was introduces in version 3.5, the plugin did not work in lower Python versions. We therefore replaced the call with a older high level API. --- rplugin/python3/neotags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rplugin/python3/neotags.py b/rplugin/python3/neotags.py index 44ec7a6..f7115e3 100644 --- a/rplugin/python3/neotags.py +++ b/rplugin/python3/neotags.py @@ -67,7 +67,7 @@ class NeotagsPlugin(object): sys.stdout.write(line) def generate_tags(self, tags_file, filename): - subprocess.run([ + subprocess.call([ self.options['ctags_cmd'], '-f', tags_file,