| To: vim-dev@vim.org |
| Subject: patch 7.0.211 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.0.211 |
| Problem: With ":set cindent noai bs=0" using CTRL-U in Insert mode will |
| delete auto-indent. After ":set ai" it doesn't. |
| Solution: Also check 'cindent' being set. (Ryan Lortie) |
| Files: src/edit.c |
| |
| |
| |
| |
| |
| *** 8250,8256 **** |
| #endif |
| mincol = 0; |
| /* keep indent */ |
| ! if (mode == BACKSPACE_LINE && curbuf->b_p_ai |
| #ifdef FEAT_RIGHTLEFT |
| && !revins_on |
| #endif |
| --- 8250,8261 ---- |
| #endif |
| mincol = 0; |
| /* keep indent */ |
| ! if (mode == BACKSPACE_LINE |
| ! && (curbuf->b_p_ai |
| ! #ifdef FEAT_CINDENT |
| ! || cindent_on() |
| ! #endif |
| ! ) |
| #ifdef FEAT_RIGHTLEFT |
| && !revins_on |
| #endif |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 211, |
| /**/ |
| |
| -- |
| Microsoft: "Windows NT 4.0 now has the same user-interface as Windows 95" |
| Windows 95: "Press CTRL-ALT-DEL to reboot" |
| Windows NT 4.0: "Press CTRL-ALT-DEL to login" |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |