aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/funcs.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-05-21 05:41:57 +0200
committerGitHub <noreply@github.com>2022-05-20 20:41:57 -0700
commit045aacc38470114daa969c5751276c90a3158f9b (patch)
treec52c1982858e63b843948d903c97d3765203dcce /src/nvim/eval/funcs.c
parent4c97e17d3867418919800bdf4f8079601c79bc12 (diff)
downloadrneovim-045aacc38470114daa969c5751276c90a3158f9b.tar.gz
rneovim-045aacc38470114daa969c5751276c90a3158f9b.tar.bz2
rneovim-045aacc38470114daa969c5751276c90a3158f9b.zip
ci: lint with uncrustify #18563
This lint job will ensure that the C codebase is properly formatted at all times. This helps eliminate most of clint.py. To save CI time, it's faster to manually compile uncrustify and cache the binary instead of using homebrew (the apt-get package is too old).
Diffstat (limited to 'src/nvim/eval/funcs.c')
-rw-r--r--src/nvim/eval/funcs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c
index 62fe2033af..6fa5aac2d6 100644
--- a/src/nvim/eval/funcs.c
+++ b/src/nvim/eval/funcs.c
@@ -90,11 +90,13 @@ typedef enum {
# pragma function(floor)
# endif
+// uncrustify:off
PRAGMA_DIAG_PUSH_IGNORE_MISSING_PROTOTYPES
PRAGMA_DIAG_PUSH_IGNORE_IMPLICIT_FALLTHROUGH
# include "funcs.generated.h"
PRAGMA_DIAG_POP
PRAGMA_DIAG_POP
+// uncrustify:on
#endif