mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4993: smart/C/lisp indenting is optional
Problem: smart/C/lisp indenting is optional, which makes the code more complex, while it only reduces the executable size a bit. Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
This commit is contained in:
@@ -2180,10 +2180,8 @@ command_line_scan(mparm_T *parmp)
|
||||
break;
|
||||
|
||||
case 'l': // "-l" lisp mode, 'lisp' and 'showmatch' on
|
||||
#ifdef FEAT_LISP
|
||||
set_option_value_give_err((char_u *)"lisp", 1L, NULL, 0);
|
||||
p_sm = TRUE;
|
||||
#endif
|
||||
break;
|
||||
|
||||
case 'M': // "-M" no changes or writing of files
|
||||
@@ -3494,9 +3492,7 @@ usage(void)
|
||||
main_msg(_("-m\t\t\tModifications (writing files) not allowed"));
|
||||
main_msg(_("-M\t\t\tModifications in text not allowed"));
|
||||
main_msg(_("-b\t\t\tBinary mode"));
|
||||
#ifdef FEAT_LISP
|
||||
main_msg(_("-l\t\t\tLisp mode"));
|
||||
#endif
|
||||
main_msg(_("-C\t\t\tCompatible with Vi: 'compatible'"));
|
||||
main_msg(_("-N\t\t\tNot fully Vi compatible: 'nocompatible'"));
|
||||
main_msg(_("-V[N][fname]\t\tBe verbose [level N] [log messages to fname]"));
|
||||
|
Reference in New Issue
Block a user