mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
refactor(uncrustify): disable uncrustify for misformatted code sections
Uncrustify version 0.74 has a bug that deindents and misformats the entire fileio.c.
This commit is contained in:
parent
9e9322b222
commit
d0cb8744d8
@ -7066,10 +7066,12 @@ static void init_srand(uint32_t *const x)
|
||||
if (dev_urandom_state != OK) {
|
||||
// Reading /dev/urandom doesn't work, fall back to time().
|
||||
#endif
|
||||
// uncrustify:off
|
||||
*x = time(NULL);
|
||||
#ifndef MSWIN
|
||||
}
|
||||
#endif
|
||||
// uncrustify:on
|
||||
}
|
||||
|
||||
static inline uint32_t splitmix32(uint32_t *const x)
|
||||
|
@ -3,6 +3,8 @@
|
||||
|
||||
// fileio.c: read from and write to a file
|
||||
|
||||
// uncrustify:off
|
||||
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
|
Loading…
Reference in New Issue
Block a user