aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/math.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/math.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/math.c')
-rw-r--r--src/nvim/math.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/math.c b/src/nvim/math.c
index 63a29509bd..04ded0fd39 100644
--- a/src/nvim/math.c
+++ b/src/nvim/math.c
@@ -1,7 +1,9 @@
// This is an open source non-commercial project. Dear PVS-Studio, please check
// it. PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
+// uncrustify:off
#include <math.h>
+// uncrustify:on
#include <stdint.h>
#include <string.h>