summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-21 20:17:31 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-21 20:17:31 +0100
commit8e145b82464a21ee4fdf7948f04e2a1d505f8bfa (patch)
tree833d3862b868395323a8670c15af4b30f1d5564e /src/main.c
parent5a01caa90428a5f87600528d68529383c0b2f78c (diff)
downloadvim-git-8e145b82464a21ee4fdf7948f04e2a1d505f8bfa.tar.gz
patch 8.2.4993: smart/C/lisp indenting is optionalv8.2.4993
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.
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/main.c b/src/main.c
index 1168e72c6..b72c9aecf 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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]"));