aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-06-30 14:27:52 +0200
committerGitHub <noreply@github.com>2022-06-30 20:27:52 +0800
commitcb84f5ee530f0f32b92bed5b4ad41344e8b551aa (patch)
treec6322c4742fca83982ac895d0d0d6975159a5690 /src/nvim/eval
parent69cd0ba27bfc595b643cde0d9f1156ee144dee4a (diff)
downloadrneovim-cb84f5ee530f0f32b92bed5b4ad41344e8b551aa.tar.gz
rneovim-cb84f5ee530f0f32b92bed5b4ad41344e8b551aa.tar.bz2
rneovim-cb84f5ee530f0f32b92bed5b4ad41344e8b551aa.zip
refactor(uncrustify): change config to better align with style guide (#18803)
refactor(uncrustify): change config to better align with neovim style
Diffstat (limited to 'src/nvim/eval')
-rw-r--r--src/nvim/eval/funcs.c2
-rw-r--r--src/nvim/eval/typval_encode.c.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/funcs.c b/src/nvim/eval/funcs.c
index 85ab51da5d..f50b355045 100644
--- a/src/nvim/eval/funcs.c
+++ b/src/nvim/eval/funcs.c
@@ -91,13 +91,11 @@ 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
static char *e_listblobarg = N_("E899: Argument of %s must be a List or Blob");
diff --git a/src/nvim/eval/typval_encode.c.h b/src/nvim/eval/typval_encode.c.h
index 8c952473a1..73b36b8611 100644
--- a/src/nvim/eval/typval_encode.c.h
+++ b/src/nvim/eval/typval_encode.c.h
@@ -1,3 +1,5 @@
+// uncrustify:off
+
/// @file eval/typval_encode.c.h
///
/// Contains set of macros used to convert (possibly recursive) typval_T into