mirror of
https://github.com/neovim/neovim.git
synced 2025-01-01 17:23:36 -07:00
Linting: Fix header guards, add whitespace.
This commit is contained in:
parent
e21f6e754d
commit
73a970ccd9
@ -14,6 +14,6 @@ typedef struct {
|
||||
uint64_t device_id; ///< @private The id of the device containing the file
|
||||
} FileID;
|
||||
|
||||
#define FILE_ID_EMPTY (FileID){.inode = 0, .device_id = 0}
|
||||
#define FILE_ID_EMPTY (FileID) {.inode = 0, .device_id = 0}
|
||||
|
||||
#endif // NVIM_OS_FS_DEFS_H
|
||||
|
@ -7,4 +7,4 @@
|
||||
# include "nvim/os/unix_defs.h"
|
||||
#endif
|
||||
|
||||
#endif // NVIM_OS_DEFS_H
|
||||
#endif // NVIM_OS_OS_DEFS_H
|
||||
|
@ -1,7 +1,7 @@
|
||||
#ifndef NEOVIM_OS_UNIX_DEFS_H
|
||||
#define NEOVIM_OS_UNIX_DEFS_H
|
||||
#ifndef NVIM_OS_UNIX_DEFS_H
|
||||
#define NVIM_OS_UNIX_DEFS_H
|
||||
|
||||
#define TEMP_DIR_NAMES {"$TMPDIR", "/tmp", ".", "$HOME"}
|
||||
#define TEMP_FILE_PATH_MAXLEN 256
|
||||
|
||||
#endif // NEOVIM_OS_UNIX_DEFS_H
|
||||
#endif // NVIM_OS_UNIX_DEFS_H
|
||||
|
@ -1,9 +1,9 @@
|
||||
#ifndef NEOVIM_OS_WIN_DEFS_H
|
||||
#define NEOVIM_OS_WIN_DEFS_H
|
||||
#ifndef NVIM_OS_WIN_DEFS_H
|
||||
#define NVIM_OS_WIN_DEFS_H
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#define TEMP_DIR_NAMES {"$TMP", "$TEMP", "$USERPROFILE", ""}
|
||||
#define TEMP_FILE_PATH_MAXLEN _MAX_PATH
|
||||
|
||||
#endif // NEOVIM_OS_WIN_DEFS_H
|
||||
#endif // NVIM_OS_WIN_DEFS_H
|
||||
|
@ -1,5 +1,5 @@
|
||||
#ifndef NVIM_OS_UNIX_DEFS_H
|
||||
#define NVIM_OS_UNIX_DEFS_H
|
||||
#ifndef NVIM_OS_UNIX_DEFS_LEGACY_H
|
||||
#define NVIM_OS_UNIX_DEFS_LEGACY_H
|
||||
|
||||
/*
|
||||
* VIM - Vi IMproved by Bram Moolenaar
|
||||
@ -253,4 +253,4 @@
|
||||
/* We have three kinds of ACL support. */
|
||||
#define HAVE_ACL (HAVE_POSIX_ACL || HAVE_SOLARIS_ACL || HAVE_AIX_ACL)
|
||||
|
||||
#endif // NVIM_OS_UNIX_DEFS_H
|
||||
#endif // NVIM_OS_UNIX_DEFS_LEGACY_H
|
||||
|
Loading…
Reference in New Issue
Block a user