refactor: format with uncrustify #15872

* refactor: format with uncrustify
* refactor: fix function parameter comments
This commit is contained in:
dundargoc
2021-10-02 23:41:50 +02:00
committed by GitHub
parent 09307e64df
commit 8c74c895b3
8 changed files with 1243 additions and 1168 deletions

View File

@@ -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, {