From 79106c2906d2e4cae30bd960045867880453230f Mon Sep 17 00:00:00 2001 From: roxma Date: Wed, 25 Oct 2017 11:02:34 +0800 Subject: [PATCH] update incompatibility issues for https://github.com/autozimu/LanguageClient-neovim/pull/151#issuecomment-339198527 --- README.md | 6 ++++++ pythonx/neovim_rpc_methods.py | 10 ++++++++++ 2 files changed, 16 insertions(+) diff --git a/README.md b/README.md index 07f38ac..41c04a4 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,12 @@ Note that `neovim_rpc#jobstart` only support these options: - `on_exit` - `detach` +## Incompatibility issues + +The following neovim-only API will be ignored + +- `nvim_buf_add_highlight` +- `nvim_buf_clear_highlight` ## Overall Implementation diff --git a/pythonx/neovim_rpc_methods.py b/pythonx/neovim_rpc_methods.py index 3a9e575..0d3236d 100644 --- a/pythonx/neovim_rpc_methods.py +++ b/pythonx/neovim_rpc_methods.py @@ -82,3 +82,13 @@ def nvim_out_write(s): # TODO def nvim_err_write(s): pass + +# NOTE https://github.com/autozimu/LanguageClient-neovim/pull/151#issuecomment-339198527 +# TODO +def nvim_buf_add_highlight(buf, src_id, *args): + return src_id + +# NOTE https://github.com/autozimu/LanguageClient-neovim/pull/151#issuecomment-339198527 +# TODO +def nvim_buf_clear_highlight(*args): + pass