diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-13 15:38:42 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-13 15:38:42 -0500 |
commit | 9af6485e8b91612382ee96130e8664dd7531d39c (patch) | |
tree | bac07670f8afaca3aa6fa1ae2559699141a00acf /src/nvim/main.c | |
parent | 0ba6cb2f5cfe49ee1ee66c6246a77947af74ae5e (diff) | |
parent | e10670ac3bccbea707432bdb54e18639cf2e125f (diff) | |
download | rneovim-9af6485e8b91612382ee96130e8664dd7531d39c.tar.gz rneovim-9af6485e8b91612382ee96130e8664dd7531d39c.tar.bz2 rneovim-9af6485e8b91612382ee96130e8664dd7531d39c.zip |
Merge pull request #1622 from klusark/test29
default to 'nocompatible'
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index 8c6df6a212..7c47be3147 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -955,7 +955,6 @@ static void parse_command_name(mparm_T *parmp) exmode_active = EXMODE_VIM; else exmode_active = EXMODE_NORMAL; - change_compatible(TRUE); /* set 'compatible' */ } } @@ -1090,10 +1089,6 @@ static void command_line_scan(mparm_T *parmp) curbuf->b_p_bin = 1; /* binary file I/O */ break; - case 'C': /* "-C" Compatible */ - change_compatible(TRUE); - break; - case 'e': /* "-e" Ex mode */ exmode_active = EXMODE_NORMAL; break; @@ -1142,7 +1137,7 @@ static void command_line_scan(mparm_T *parmp) break; case 'N': /* "-N" Nocompatible */ - change_compatible(FALSE); + /* No-op */ break; case 'n': /* "-n" no swap file */ @@ -2207,8 +2202,6 @@ static void usage(void) main_msg(_("-M\t\t\tModifications in text not allowed")); main_msg(_("-b\t\t\tBinary mode")); main_msg(_("-l\t\t\tLisp mode")); - 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]")); main_msg(_("-D\t\t\tDebugging mode")); main_msg(_("-n\t\t\tNo swap file, use memory only")); |