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.
This commit is contained in:
Justin M. Keyes
2022-09-25 00:45:15 +02:00
parent 2a3cb0893b
commit 3169fc54a1
4 changed files with 13 additions and 10 deletions

View File

@@ -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.