aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/cursor.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-09-26 02:16:04 +0200
committerGitHub <noreply@github.com>2021-09-25 17:16:04 -0700
commit2f9b9e61d7417183f2d9f36d804247c0926be9d4 (patch)
treed8cef2aec47839d3e1c243fe64613dcc3394c900 /src/nvim/cursor.c
parent05d685be5244ec9f0a8bc042154d0da3449ba2f3 (diff)
downloadrneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.tar.gz
rneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.tar.bz2
rneovim-2f9b9e61d7417183f2d9f36d804247c0926be9d4.zip
refactor: format with uncrustify #15778
* fixup: force exactly one whitespace between type and variable
Diffstat (limited to 'src/nvim/cursor.c')
-rw-r--r--src/nvim/cursor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/cursor.c b/src/nvim/cursor.c
index 2eced03c03..e334fd166e 100644
--- a/src/nvim/cursor.c
+++ b/src/nvim/cursor.c
@@ -93,10 +93,10 @@ int coladvance(colnr_T wcol)
return rc;
}
-static int coladvance2(pos_T *pos, bool addspaces, // change the text to achieve our goal?
- bool finetune, // change char offset for the exact column
- colnr_T wcol_arg // column to move to (can be negative)
- )
+/// @param addspaces change the text to achieve our goal?
+/// @param finetune change char offset for the exact column
+/// @param wcol_arg column to move to (can be negative)
+static int coladvance2(pos_T *pos, bool addspaces, bool finetune, colnr_T wcol_arg)
{
colnr_T wcol = wcol_arg;
int idx;