aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-03-22 09:51:46 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-04-12 15:56:40 -0400
commit73dc9e943cfea92ec0254f6926c9524029cb0222 (patch)
treeafc1a6f2c02ed4793fc6c0e333b7d9ab4455f605 /src/nvim/misc1.c
parent2ec6fec20bb12538b247d7cdacd201005149531c (diff)
downloadrneovim-73dc9e943cfea92ec0254f6926c9524029cb0222.tar.gz
rneovim-73dc9e943cfea92ec0254f6926c9524029cb0222.tar.bz2
rneovim-73dc9e943cfea92ec0254f6926c9524029cb0222.zip
vim-patch:8.1.2378: using old C style comments
Problem: Using old C style comments. Solution: Use // comments where appropriate. https://github.com/vim/vim/commit/5d18efecfd6c45d69f55268948a22cd0465bb955
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 8c19a2de66..e7fb38e801 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -73,7 +73,8 @@ static garray_T ga_users = GA_EMPTY_INIT_VALUE;
* If "include_space" is set, include trailing whitespace while calculating the
* length.
*/
-int get_leader_len(char_u *line, char_u **flags, int backward, int include_space)
+int get_leader_len(char_u *line, char_u **flags,
+ bool backward, bool include_space)
{
int i, j;
int result;