mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user