mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
Merge pull request #2214 from Pyrohh/version-cleanup
Version output cleanup
This commit is contained in:
@@ -9867,12 +9867,6 @@ static void f_has(typval_T *argvars, typval_T *rettv)
|
||||
#endif
|
||||
"arabic",
|
||||
"autocmd",
|
||||
#if defined(SOME_BUILTIN_TCAPS) || defined(ALL_BUILTIN_TCAPS)
|
||||
"builtin_terms",
|
||||
# ifdef ALL_BUILTIN_TCAPS
|
||||
"all_builtin_terms",
|
||||
# endif
|
||||
#endif
|
||||
#if defined(FEAT_BROWSE) && (defined(USE_FILE_CHOOSER) \
|
||||
|| defined(FEAT_GUI_W32) \
|
||||
|| defined(FEAT_GUI_MOTIF))
|
||||
|
@@ -43,54 +43,14 @@ char *version_cflags = "Compilation: " NVIM_VERSION_CFLAGS;
|
||||
#ifdef INCLUDE_GENERATED_DECLARATIONS
|
||||
# include "version.c.generated.h"
|
||||
#endif
|
||||
static char *(features[]) = {
|
||||
|
||||
static char *features[] = {
|
||||
#ifdef HAVE_ACL
|
||||
"+acl",
|
||||
#else // ifdef HAVE_ACL
|
||||
"-acl",
|
||||
#endif // ifdef HAVE_ACL
|
||||
"+arabic",
|
||||
"+autocmd",
|
||||
"-browse",
|
||||
#ifdef NO_BUILTIN_TCAPS
|
||||
"-builtin_terms",
|
||||
#endif // ifdef NO_BUILTIN_TCAPS
|
||||
#ifdef SOME_BUILTIN_TCAPS
|
||||
"+builtin_terms",
|
||||
#endif // ifdef SOME_BUILTIN_TCAPS
|
||||
#ifdef ALL_BUILTIN_TCAPS
|
||||
"++builtin_terms",
|
||||
#endif // ifdef ALL_BUILTIN_TCAPS
|
||||
"+byte_offset",
|
||||
"+cindent",
|
||||
"-clipboard",
|
||||
"+cmdline_compl",
|
||||
"+cmdline_hist",
|
||||
"+cmdline_info",
|
||||
"+comments",
|
||||
"+conceal",
|
||||
"+cscope",
|
||||
"+cursorbind",
|
||||
"+cursorshape",
|
||||
"+dialog_con",
|
||||
"+digraphs",
|
||||
"-dnd",
|
||||
"-ebcdic",
|
||||
"-emacs_tags",
|
||||
"+eval",
|
||||
"+ex_extra",
|
||||
"+extra_search",
|
||||
"+farsi",
|
||||
"+file_in_path",
|
||||
"+find_in_path",
|
||||
"+folding",
|
||||
"-footer",
|
||||
|
||||
// only interesting on Unix systems
|
||||
#if defined(UNIX)
|
||||
"+fork()",
|
||||
#endif // if defined(UNIX)
|
||||
"+gettext",
|
||||
#if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV)
|
||||
# ifdef DYNAMIC_ICONV
|
||||
"+iconv/dyn",
|
||||
@@ -102,77 +62,6 @@ static char *(features[]) = {
|
||||
"-iconv",
|
||||
#endif // if (defined(HAVE_ICONV_H) && defined(USE_ICONV))
|
||||
// || defined(DYNAMIC_ICONV)
|
||||
"+insert_expand",
|
||||
"+jumplist",
|
||||
"+keymap",
|
||||
"+langmap",
|
||||
"+libcall",
|
||||
"+linebreak",
|
||||
"+lispindent",
|
||||
"+listcmds",
|
||||
"+localmap",
|
||||
"+menu",
|
||||
"+mksession",
|
||||
"+modify_fname",
|
||||
"+mouse",
|
||||
"-mouseshape",
|
||||
|
||||
#if defined(UNIX)
|
||||
"+mouse_dec",
|
||||
"-mouse_gpm",
|
||||
"+mouse_netterm",
|
||||
#endif // if defined(UNIX)
|
||||
|
||||
|
||||
#if defined(UNIX)
|
||||
"+mouse_sgr",
|
||||
"-mouse_sysmouse",
|
||||
"+mouse_urxvt",
|
||||
"+mouse_xterm",
|
||||
#endif // if defined(UNIX)
|
||||
|
||||
"+multi_byte",
|
||||
"+multi_lang",
|
||||
"+path_extra",
|
||||
"+persistent_undo",
|
||||
"+postscript",
|
||||
"+printer",
|
||||
"+profile",
|
||||
"+quickfix",
|
||||
"+reltime",
|
||||
"+rightleft",
|
||||
"+scrollbind",
|
||||
"+signs",
|
||||
"+smartindent",
|
||||
"+startuptime",
|
||||
"+statusline",
|
||||
"+syntax",
|
||||
"+tag_binary",
|
||||
"+tag_old_static",
|
||||
"-tag_any_white",
|
||||
"+termresponse",
|
||||
"+textobjects",
|
||||
"+title",
|
||||
"-toolbar",
|
||||
"+user_commands",
|
||||
"+vertsplit",
|
||||
"+virtualedit",
|
||||
"+visual",
|
||||
"+visualextra",
|
||||
"+viminfo",
|
||||
"+vreplace",
|
||||
"+wildignore",
|
||||
"+wildmenu",
|
||||
"+windows",
|
||||
"+writebackup",
|
||||
#if defined(UNIX)
|
||||
"-X11",
|
||||
#endif // if defined(UNIX)
|
||||
"-xfontset",
|
||||
#if defined(UNIX)
|
||||
"-xsmp",
|
||||
"-xterm_clipboard",
|
||||
#endif // if defined(UNIX)
|
||||
NULL
|
||||
};
|
||||
|
||||
@@ -946,6 +835,7 @@ static void list_features(void)
|
||||
}
|
||||
}
|
||||
}
|
||||
MSG_PUTS("For differences from Vim, see :help vim-differences\n\n");
|
||||
}
|
||||
|
||||
void list_version(void)
|
||||
@@ -987,7 +877,7 @@ void list_version(void)
|
||||
}
|
||||
#endif // ifdef HAVE_PATHDEF
|
||||
|
||||
version_msg(_(" Features included (+) or not (-):\n"));
|
||||
version_msg(_("\n\nOptional features included (+) or not (-): "));
|
||||
|
||||
list_features();
|
||||
|
||||
|
Reference in New Issue
Block a user