Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit27b71c8

Browse files
committed
add nvim_get_api_info
1 parent45080a2 commit27b71c8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎pythonx/neovim_rpc_server.py‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,9 @@ def process_pending_requests():
390390
break
391391

392392
def_process_request(channel,method,args):
393-
ifmethod=='vim_get_api_info':
394-
# this is the first request send from neovim client
395-
api_info=neovim_rpc_server_api_info.API_INFO
396-
return [channel,api_info]
393+
ifmethodin ['vim_get_api_info','nvim_get_api_info']:
394+
# the first request sent by neovim python client
395+
return [channel,neovim_rpc_server_api_info.API_INFO]
397396
ifhasattr(neovim_rpc_methods,method):
398397
returngetattr(neovim_rpc_methods,method)(*args)
399398
else:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp