diff options
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 6c2cb2b645..1f6c8ddc81 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -208,9 +208,6 @@ int main(int argc, char **argv) /* * Check if we have an interactive window. - * On the Amiga: If there is no window, we open one with a newcli command - * (needed for :! to * work). mch_check_win() will also handle the -d or - * -dev argument. */ check_and_set_isatty(¶ms); @@ -1087,8 +1084,7 @@ static void command_line_scan(mparm_T *parmp) exmode_active = EXMODE_VIM; break; - case 'f': /* "-f" GUI: run in foreground. Amiga: open - window directly, not with newcli */ + case 'f': /* "-f" GUI: run in foreground. */ break; case 'g': /* "-g" start GUI */ @@ -1489,9 +1485,6 @@ static void init_startuptime(mparm_T *paramp) /* * Check if we have an interactive window. - * On the Amiga: If there is no window, we open one with a newcli command - * (needed for :! to * work). mch_check_win() will also handle the -d or - * -dev argument. */ static void check_and_set_isatty(mparm_T *paramp) { @@ -1957,10 +1950,10 @@ static void source_startup_scripts(mparm_T *parmp) /* * Try to read initialization commands from the following places: * - environment variable VIMINIT - * - user vimrc file (s:.vimrc for Amiga, ~/.vimrc otherwise) + * - user vimrc file (~/.vimrc) * - second user vimrc file ($VIM/.vimrc for Dos) * - environment variable EXINIT - * - user exrc file (s:.exrc for Amiga, ~/.exrc otherwise) + * - user exrc file (~/.exrc) * - second user exrc file ($VIM/.exrc for Dos) * The first that exists is used, the rest is ignored. */ @@ -2168,7 +2161,7 @@ static void usage(void) for (i = 0;; ++i) { mch_msg(_(" vim [arguments] ")); mch_msg(_(use[i])); - if (i == (sizeof(use) / sizeof(char_u *)) - 1) + if (i == ARRAY_SIZE(use) - 1) break; mch_msg(_("\n or:")); } |