aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/develop.txt
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2022-09-25 00:45:15 +0200
committerJustin M. Keyes <justinkz@gmail.com>2022-09-25 13:46:15 +0200
commit3169fc54a129f6dd1c0baf2d404e50381cf48e8f (patch)
tree3d5d03ca2b37983b4f022e84dca1aed18ba84510 /runtime/doc/develop.txt
parent2a3cb0893b03aeff4d8c0b2116cbddda53bba5a2 (diff)
downloadrneovim-3169fc54a129f6dd1c0baf2d404e50381cf48e8f.tar.gz
rneovim-3169fc54a129f6dd1c0baf2d404e50381cf48e8f.tar.bz2
rneovim-3169fc54a129f6dd1c0baf2d404e50381cf48e8f.zip
refactor(treesitter): rename x_position => x_pos
"pos" has a long precedent as "position" in vim, and there is no reason to use a verbose name here.
Diffstat (limited to 'runtime/doc/develop.txt')
-rw-r--r--runtime/doc/develop.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/develop.txt b/runtime/doc/develop.txt
index b31ac47bda..4f17e7d34a 100644
--- a/runtime/doc/develop.txt
+++ b/runtime/doc/develop.txt
@@ -251,6 +251,12 @@ Use existing common {action} names if possible:
list Get all things
set Set a thing (or group of things)
+Use existing common {thing} names if possible:
+ buf Buffer
+ pos Position
+ tab Tabpage
+ win Window
+
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.