1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-24 03:25:03 +03:00

Adapt to msgpack 1.0.0

This commit is contained in:
Tae Won Ha 2020-07-04 17:04:21 +02:00
parent 4add1dd75f
commit fc6bc1e302
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -411,7 +411,7 @@ if __name__ == '__main__':
nvim_path = os.environ['NVIM_PATH'] if 'NVIM_PATH' in os.environ else 'nvim'
nvim_output = subprocess.run([nvim_path, '--api-info'], stdout=subprocess.PIPE)
api = msgpack.unpackb(nvim_output.stdout, encoding='utf-8')
api = msgpack.unpackb(nvim_output.stdout)
version = parse_version(api['version'])
functions = [f for f in api['functions'] if 'deprecated_since' not in f]