References #29.
pull/21/merge v1.4.4
Marco Hinz 8 years ago
parent 8d7fe39aee
commit 27c57846f5
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

@ -257,6 +257,9 @@ def parse_args():
nargs = '+',
metavar = '<file>',
help = 'Open files via ":vsplit".')
parser.add_argument('-t',
metavar = '<tag>',
help = 'Jump to file and position of given tag.')
parser.add_argument('-q',
metavar = '<errorfile>',
help = 'Read errorfile into quickfix list and display first error.')
@ -351,6 +354,13 @@ def main():
for cmd in flags.c:
neovim.server.command(cmd)
if flags.t and neovim.is_attached():
try:
neovim.server.command("tag {}".format(flags.t))
except neovim.server.error as e:
print(e)
sys.exit(1)
if flags.q and neovim.is_attached():
neovim.server.command("silent execute 'lcd' fnameescape('{}')".
format(os.environ['PWD'].replace("'", "''")))

@ -16,7 +16,7 @@ setup(
install_requires = ['neovim'],
scripts = ['bin/nvr'],
packages = [],
version = '1.4.3',
version = '1.4.4',
license = 'MIT',
keywords = 'neovim nvim nvr remote helper',
classifiers = [

Loading…
Cancel
Save