diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-12-02 00:46:46 -0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-12-02 22:06:42 -0800 |
commit | a3b6c2a3dc5576db45fe4e893cfb8482af591c92 (patch) | |
tree | 4b19d5f14230929c226ea916c1538fb492e511c0 /runtime/doc/develop.txt | |
parent | c34130d13a842ae0c0c1724d05800a954547d327 (diff) | |
download | rneovim-a3b6c2a3dc5576db45fe4e893cfb8482af591c92.tar.gz rneovim-a3b6c2a3dc5576db45fe4e893cfb8482af591c92.tar.bz2 rneovim-a3b6c2a3dc5576db45fe4e893cfb8482af591c92.zip |
API: rename nvim_execute_lua => nvim_exec_lua
- We already find ourselves renaming nvim_execute_lua in tests and
scripts, which suggests "exec" is the verb we actually want.
- Add "exec" verb to `:help dev-api`.
Diffstat (limited to 'runtime/doc/develop.txt')
-rw-r--r-- | runtime/doc/develop.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt index 4c1430ab1f..09c5b7c4ad 100644 --- a/runtime/doc/develop.txt +++ b/runtime/doc/develop.txt @@ -236,10 +236,11 @@ with a {thing} that groups functions under a common concept). Use existing common {action} names if possible: add Append to, or insert into, a collection - get Get a thing (or group of things by query) - set Set a thing (or group of things) del Delete a thing (or group of things) + exec Execute code + get Get a thing (or group of things by query) list Get all things + set Set a thing (or group of things) Use consistent names for {thing} in all API functions. E.g. a buffer is called "buf" everywhere, not "buffer" in some places and "buf" in others. |