mirror of
https://github.com/neovim/neovim.git
synced 2026-07-22 00:51:33 +00:00
os/*defs: restore some comments and formatting.
This commit is contained in:
@@ -33,8 +33,7 @@
|
||||
# define SIGDUMMYARG
|
||||
#endif
|
||||
|
||||
// On some systems, time.h should not be
|
||||
// included together with sys/time.h.
|
||||
// On some systems, time.h should not be included together with sys/time.h.
|
||||
#if !defined(HAVE_SYS_TIME_H) || defined(TIME_WITH_SYS_TIME)
|
||||
# include <time.h>
|
||||
#endif
|
||||
@@ -52,7 +51,7 @@
|
||||
#endif
|
||||
|
||||
#if defined(NAME_MAX) && !defined(MAXNAMLEN)
|
||||
# define MAXNAMLEN NAME_MAX
|
||||
# define MAXNAMLEN NAME_MAX /* for Linux before .99p3 */
|
||||
#endif
|
||||
|
||||
// Default value.
|
||||
@@ -95,8 +94,7 @@
|
||||
|
||||
#define DFLT_ERRORFILE "errors.err"
|
||||
|
||||
// Unix has plenty of memory, use large buffers.
|
||||
// Size of the command processing buffer.
|
||||
// Command-processing buffer. Use large buffers for all platforms.
|
||||
#define CMDBUFFSIZE 1024
|
||||
|
||||
// Use up to 5 Mbyte for a buffer.
|
||||
|
||||
@@ -18,38 +18,31 @@
|
||||
// Special wildcards that need to be handled by the shell.
|
||||
#define SPECIAL_WILDCHAR "`'{"
|
||||
|
||||
// Unix system-dependent file names
|
||||
#ifndef SYS_VIMRC_FILE
|
||||
# define SYS_VIMRC_FILE "$VIM/nvimrc"
|
||||
#endif
|
||||
|
||||
#ifndef DFLT_HELPFILE
|
||||
# define DFLT_HELPFILE "$VIMRUNTIME/doc/help.txt"
|
||||
#endif
|
||||
|
||||
#ifndef SYNTAX_FNAME
|
||||
# define SYNTAX_FNAME "$VIMRUNTIME/syntax/%s.vim"
|
||||
#endif
|
||||
|
||||
#ifndef USR_EXRC_FILE
|
||||
# define USR_EXRC_FILE "~/.exrc"
|
||||
#endif
|
||||
|
||||
#ifndef USR_VIMRC_FILE
|
||||
# define USR_VIMRC_FILE "~/.nvimrc"
|
||||
#endif
|
||||
|
||||
#ifndef USR_VIMRC_FILE2
|
||||
# define USR_VIMRC_FILE2 "~/.nvim/nvimrc"
|
||||
#endif
|
||||
|
||||
#ifndef EXRC_FILE
|
||||
# define EXRC_FILE ".exrc"
|
||||
#endif
|
||||
|
||||
#ifndef VIMRC_FILE
|
||||
# define VIMRC_FILE ".nvimrc"
|
||||
#endif
|
||||
|
||||
#ifndef VIMINFO_FILE
|
||||
# define VIMINFO_FILE "~/.nviminfo"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user