aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/develop.txt
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2022-04-10 20:46:02 -0600
committerGitHub <noreply@github.com>2022-04-10 20:46:02 -0600
commitcdfb045ea027e018f14fb2735c3fd6aaa718ae58 (patch)
treebf4c2e4ade24d58711e45743cc4db35ac377d144 /runtime/doc/develop.txt
parenta2f157233f274599739941e39673ca4d3b0291c3 (diff)
parent379067d0386083b3f9531062d9f3a83a24bff745 (diff)
downloadrneovim-cdfb045ea027e018f14fb2735c3fd6aaa718ae58.tar.gz
rneovim-cdfb045ea027e018f14fb2735c3fd6aaa718ae58.tar.bz2
rneovim-cdfb045ea027e018f14fb2735c3fd6aaa718ae58.zip
Merge pull request #18071 from gpanders/create_uc
refactor!: Rename nvim_add_user_command to nvim_create_user_command
Diffstat (limited to 'runtime/doc/develop.txt')
-rw-r--r--runtime/doc/develop.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index cc146fcf6e..b31ac47bda 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -243,12 +243,13 @@ If the function acts on an object then {thing} is the name of that object
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
- 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)
+ add Append to, or insert into, a collection
+ create Create a new thing
+ 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.