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:
parent
c45400e074
commit
61af839867
|
@ -67,7 +67,7 @@ class NeotagsPlugin(object):
|
||||||
sys.stdout.write(line)
|
sys.stdout.write(line)
|
||||||
|
|
||||||
def generate_tags(self, tags_file, filename):
|
def generate_tags(self, tags_file, filename):
|
||||||
subprocess.run([
|
subprocess.call([
|
||||||
self.options['ctags_cmd'],
|
self.options['ctags_cmd'],
|
||||||
'-f',
|
'-f',
|
||||||
tags_file,
|
tags_file,
|
||||||
|
|
Loading…
Reference in a new issue