diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-10-02 23:41:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-02 14:41:50 -0700 |
commit | 8c74c895b300bcee5fa937a2329d1d4756567b42 (patch) | |
tree | db733caa6606e7850b73d94abe56f91caf6658d2 /src/nvim/ugrid.c | |
parent | 09307e64df3fd072d69201629a3b5bf719d42d55 (diff) | |
download | rneovim-8c74c895b300bcee5fa937a2329d1d4756567b42.tar.gz rneovim-8c74c895b300bcee5fa937a2329d1d4756567b42.tar.bz2 rneovim-8c74c895b300bcee5fa937a2329d1d4756567b42.zip |
refactor: format with uncrustify #15872
* refactor: format with uncrustify
* refactor: fix function parameter comments
Diffstat (limited to 'src/nvim/ugrid.c')
-rw-r--r-- | src/nvim/ugrid.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/ugrid.c b/src/nvim/ugrid.c index 9e4aaff878..ef84cdf334 100644 --- a/src/nvim/ugrid.c +++ b/src/nvim/ugrid.c @@ -2,14 +2,14 @@ // it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com #include <assert.h> +#include <limits.h> #include <stdbool.h> #include <stdio.h> -#include <limits.h> #include "nvim/assert.h" -#include "nvim/vim.h" -#include "nvim/ui.h" #include "nvim/ugrid.h" +#include "nvim/ui.h" +#include "nvim/vim.h" #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ugrid.c.generated.h" @@ -79,8 +79,7 @@ void ugrid_scroll(UGrid *grid, int top, int bot, int left, int right, int count) } } -static void clear_region(UGrid *grid, int top, int bot, int left, int right, - sattr_T attr) +static void clear_region(UGrid *grid, int top, int bot, int left, int right, sattr_T attr) { for (int row = top; row <= bot; row++) { UGRID_FOREACH_CELL(grid, row, left, right+1, { |