diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-30 02:23:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-29 17:23:20 -0700 |
commit | 4472c56d54f447040f6e8610b261b7efa0d04eb6 (patch) | |
tree | fcc56104bc56529999bd18e90ecef1c80711ecf0 /src/nvim/api/vim.c | |
parent | 16d06fa3eb74ed96b659736ea504c31ed81c325e (diff) | |
download | rneovim-4472c56d54f447040f6e8610b261b7efa0d04eb6.tar.gz rneovim-4472c56d54f447040f6e8610b261b7efa0d04eb6.tar.bz2 rneovim-4472c56d54f447040f6e8610b261b7efa0d04eb6.zip |
refactor: uncrustify #16090
Diffstat (limited to 'src/nvim/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index 3ca6189ddd..f51b5536e7 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -1728,7 +1728,6 @@ static void write_msg(String message, bool to_err) pos = 0; \ continue; \ } \ - \ line_buf[pos++] = message.data[i]; ++no_wait_return; @@ -2182,16 +2181,15 @@ Dictionary nvim_eval_statusline(String str, Dict(eval_statusline) *opts, Error * int p_crb_save = ewp->w_p_crb; ewp->w_p_crb = false; - int width = build_stl_str_hl( - ewp, - (char_u *)buf, - sizeof(buf), - (char_u *)str.data, - false, - (char_u)fillchar, - maxwidth, - hltab_ptr, - NULL); + int width = build_stl_str_hl(ewp, + (char_u *)buf, + sizeof(buf), + (char_u *)str.data, + false, + (char_u)fillchar, + maxwidth, + hltab_ptr, + NULL); PUT(result, "width", INTEGER_OBJ(width)); |