To: vim-dev@vim.org Subject: patch 5.5.063 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.5.063 Problem: When using whole-line completion in Insert mode, 'cindent' is applied, even after changing the indent of the line. Solution: Don't reindent the completed line after inserting/removing indent. (Robert Webb) Files: src/edit.c *** ../vim-5.5.62/src/edit.c Wed Sep 22 10:06:20 1999 --- src/edit.c Wed Dec 8 11:23:05 1999 *************** *** 2033,2039 **** { #ifdef CINDENT /* re-indent the current line */ ! if (curbuf->b_p_cin) fixthisline(get_c_indent); #endif } --- 2033,2039 ---- { #ifdef CINDENT /* re-indent the current line */ ! if (can_cindent && curbuf->b_p_cin) fixthisline(get_c_indent); #endif } *** ../vim-5.5.62/src/version.c Tue Dec 7 19:57:51 1999 --- src/version.c Wed Dec 8 11:49:10 1999 *************** *** 420,420 **** --- 420,421 ---- { /* Add new patch number below this line */ + 63, -- GALAHAD: No. Look, I can tackle this lot single-handed! GIRLS: Yes, yes, let him Tackle us single-handed! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /