diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-09-26 02:16:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-25 17:16:04 -0700 |
commit | 2f9b9e61d7417183f2d9f36d804247c0926be9d4 (patch) | |
tree | d8cef2aec47839d3e1c243fe64613dcc3394c900 /src/nvim/autocmd.c | |
parent | 05d685be5244ec9f0a8bc042154d0da3449ba2f3 (diff) | |
download | rneovim-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/autocmd.c')
-rw-r--r-- | src/nvim/autocmd.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/nvim/autocmd.c b/src/nvim/autocmd.c index 4c502b53d4..67b2b8954d 100644 --- a/src/nvim/autocmd.c +++ b/src/nvim/autocmd.c @@ -956,10 +956,11 @@ static int do_autocmd_event(event_T event, char_u *pat, bool once, int nested, c return OK; } -// Implementation of ":doautocmd [group] event [fname]". -// Return OK for success, FAIL for failure; -int do_doautocmd(char_u *arg, bool do_msg, // give message for no matching autocmds? - bool *did_something) +/// Implementation of ":doautocmd [group] event [fname]". +/// Return OK for success, FAIL for failure; +/// +/// @param do_msg give message for no matching autocmds? +int do_doautocmd(char_u *arg, bool do_msg, bool *did_something) { char_u *fname; int nothing_done = true; @@ -1916,8 +1917,8 @@ char_u *get_augroup_name(expand_T *xp, int idx) return (char_u *)AUGROUP_NAME(idx); } -char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd // true for :doauto*, false for :autocmd - ) +/// @param doautocmd true for :doauto*, false for :autocmd +char_u *set_context_in_autocmd(expand_T *xp, char_u *arg, int doautocmd) { char_u *p; int group; |