diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-09-20 18:35:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-20 09:35:41 -0700 |
commit | f4ca3a29ddcb0c98e8e09c45a6342af709f8cc45 (patch) | |
tree | 054d1d35a890843504412b859249f0b0b0b4b810 /src/nvim/eval | |
parent | 1f8c91bf729707fdb005292aecca8dd79538f4a5 (diff) | |
download | rneovim-f4ca3a29ddcb0c98e8e09c45a6342af709f8cc45.tar.gz rneovim-f4ca3a29ddcb0c98e8e09c45a6342af709f8cc45.tar.bz2 rneovim-f4ca3a29ddcb0c98e8e09c45a6342af709f8cc45.zip |
refactor: reformat with uncrustify #15736
* fix function parameter comments
* remove space after star in function names
Diffstat (limited to 'src/nvim/eval')
-rw-r--r-- | src/nvim/eval/funcs.c | 4 | ||||
-rw-r--r-- | src/nvim/eval/userfunc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c index b17b462ed0..e7fb6ed504 100644 --- a/src/nvim/eval/funcs.c +++ b/src/nvim/eval/funcs.c @@ -803,7 +803,7 @@ buf_T *tv_get_buf_from_arg(typval_T *const tv) FUNC_ATTR_NONNULL_ALL /// Get the buffer from "arg" and give an error and return NULL if it is not /// valid. -buf_T * get_buf_arg(typval_T *arg) +buf_T *get_buf_arg(typval_T *arg) { buf_T *buf; @@ -1081,7 +1081,7 @@ static void f_cindent(typval_T *argvars, typval_T *rettv, FunPtr fptr) } } -static win_T * get_optional_window(typval_T *argvars, int idx) +static win_T *get_optional_window(typval_T *argvars, int idx) { win_T *win = curwin; diff --git a/src/nvim/eval/userfunc.c b/src/nvim/eval/userfunc.c index 2137804fdd..77297f9ffa 100644 --- a/src/nvim/eval/userfunc.c +++ b/src/nvim/eval/userfunc.c @@ -203,7 +203,7 @@ static void register_closure(ufunc_T *fp) /// Get a name for a lambda. Returned in static memory. -char_u * get_lambda_name(void) +char_u *get_lambda_name(void) { static char_u name[30]; static int lambda_no = 0; |