aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/api.txt
diff options
context:
space:
mode:
authorTJ DeVries <devries.timothyj@gmail.com>2020-08-25 09:52:22 -0400
committerGitHub <noreply@github.com>2020-08-25 09:52:22 -0400
commit43202964f39eed4e28fd8ad6ad0ec79a1868c33f (patch)
treeda9abce08cca5b7502f0a5a6320eba52ee42b8e8 /runtime/doc/api.txt
parent8a333afec53a48c90de7b0bde30f9db2d02d1898 (diff)
parent9d9edebceb73657899256430ed3e2f49c92898a8 (diff)
downloadrneovim-43202964f39eed4e28fd8ad6ad0ec79a1868c33f.tar.gz
rneovim-43202964f39eed4e28fd8ad6ad0ec79a1868c33f.tar.bz2
rneovim-43202964f39eed4e28fd8ad6ad0ec79a1868c33f.zip
Merge pull request #12708 from runiq/lsp-doc
Add docs for some methods in vim.lsp
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r--runtime/doc/api.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt
index ea3a8242ae..7ac7f7d7ea 100644
--- a/runtime/doc/api.txt
+++ b/runtime/doc/api.txt
@@ -734,13 +734,14 @@ nvim_feedkeys({keys}, {mode}, {escape_csi}) *nvim_feedkeys()*
On execution error: does not fail, but updates v:errmsg.
- If you need to input sequences like <C-o> use nvim_replace_termcodes
- to replace the termcodes and then pass the resulting string to
- nvim_feedkeys. You'll also want to enable escape_csi.
+ If you need to input sequences like <C-o> use
+ |nvim_replace_termcodes| to replace the termcodes and then
+ pass the resulting string to nvim_feedkeys. You'll also want
+ to enable escape_csi.
Example: >
- :let key = nvim_replace_termcodes("<C-o>", v:true, v:false, v:true)
- :call nvim_feedkeys(key, 'n', v:true)
+ :let key = nvim_replace_termcodes("<C-o>", v:true, v:false, v:true)
+ :call nvim_feedkeys(key, 'n', v:true)
<
Parameters: ~