aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-12-13 15:38:42 -0500
committerJustin M. Keyes <justinkz@gmail.com>2014-12-13 15:38:42 -0500
commit9af6485e8b91612382ee96130e8664dd7531d39c (patch)
treebac07670f8afaca3aa6fa1ae2559699141a00acf /src/nvim/ex_docmd.c
parent0ba6cb2f5cfe49ee1ee66c6246a77947af74ae5e (diff)
parente10670ac3bccbea707432bdb54e18639cf2e125f (diff)
downloadrneovim-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/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c9
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)))