diff options
author | Joel Teichroeb <joel@teichroeb.net> | 2014-02-28 15:37:19 -0800 |
---|---|---|
committer | Joel Teichroeb <joel@teichroeb.net> | 2014-12-13 11:43:48 -0800 |
commit | d0dcf56338e79ad5a56515a0cf057d0c6bbfaa8d (patch) | |
tree | e7d4384a85952f418b364f2477b93db70359f732 /src/nvim/ex_docmd.c | |
parent | a44f39955f232d26076edceb3c5d9f16ffde9cbd (diff) | |
download | rneovim-d0dcf56338e79ad5a56515a0cf057d0c6bbfaa8d.tar.gz rneovim-d0dcf56338e79ad5a56515a0cf057d0c6bbfaa8d.tar.bz2 rneovim-d0dcf56338e79ad5a56515a0cf057d0c6bbfaa8d.zip |
Ignore compatible mode
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 6bca1ff34d..2d20ec5025 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -6961,15 +6961,6 @@ static void ex_mkrc(exarg_T *eap) failed = TRUE; } - if (eap->cmdidx != CMD_mkview) { - /* Write setting 'compatible' first, because it has side effects. - * For that same reason only do it when needed. */ - if (p_cp) - (void)put_line(fd, "if !&cp | set cp | endif"); - else - (void)put_line(fd, "if &cp | set nocp | endif"); - } - if (!view_session || (eap->cmdidx == CMD_mksession && (*flagp & SSOP_OPTIONS))) |