mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-28 02:54:31 +03:00
Adapt to msgpack 1.0.0
This commit is contained in:
parent
4add1dd75f
commit
fc6bc1e302
@ -411,7 +411,7 @@ if __name__ == '__main__':
|
|||||||
nvim_path = os.environ['NVIM_PATH'] if 'NVIM_PATH' in os.environ else 'nvim'
|
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)
|
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'])
|
version = parse_version(api['version'])
|
||||||
functions = [f for f in api['functions'] if 'deprecated_since' not in f]
|
functions = [f for f in api['functions'] if 'deprecated_since' not in f]
|
||||||
|
Loading…
Reference in New Issue
Block a user