diff options
Diffstat (limited to 'src/nvim/vim.h')
-rw-r--r-- | src/nvim/vim.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/nvim/vim.h b/src/nvim/vim.h index 7d49ca6ff1..726670f082 100644 --- a/src/nvim/vim.h +++ b/src/nvim/vim.h @@ -24,7 +24,7 @@ #include "nvim/os/os_defs.h" // bring lots of system header files /// length of a buffer to store a number in ASCII (64 bits binary + NUL) -enum { NUMBUFLEN = 65 }; +enum { NUMBUFLEN = 65, }; #define MAX_TYPENR 65535 @@ -164,8 +164,6 @@ enum { }; - - // Minimal size for block 0 of a swap file. // NOTE: This depends on size of struct block0! It's not done with a sizeof(), // because struct block0 is defined in memline.c (Sorry). @@ -175,7 +173,6 @@ enum { #define MAX_SWAP_PAGE_SIZE 50000 - // Boolean constants #ifndef TRUE @@ -199,7 +196,7 @@ enum { #define DIALOG_MSG_SIZE 1000 // buffer size for dialog_msg() -enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext() +enum { FOLD_TEXT_LEN = 51, }; //!< buffer size for get_foldtext() // Maximum length of key sequence to be mapped. @@ -257,9 +254,9 @@ enum { FOLD_TEXT_LEN = 51 }; //!< buffer size for get_foldtext() #include "nvim/message.h" -// Prefer using emsgf(), because perror() may send the output to the wrong +// Prefer using semsg(), because perror() may send the output to the wrong // destination and mess up the screen. -#define PERROR(msg) (void)emsgf("%s: %s", msg, strerror(errno)) +#define PERROR(msg) (void)semsg("%s: %s", msg, strerror(errno)) #define SHOWCMD_COLS 10 // columns needed by shown command |