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.
This commit is contained in:
Daniel Siepmann 2017-08-07 08:47:58 +02:00
parent c45400e074
commit 61af839867
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -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,