summaryrefslogtreecommitdiffstats
path: root/src/buffer.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-11-05 07:13:41 +0100
committerBram Moolenaar <Bram@vim.org>2013-11-05 07:13:41 +0100
commit6bcbcc59be58d0c3b3cd53ac105c6eb7d0b87f06 (patch)
tree3027528e1aeb2edb9e7efe94f67e1cb1821d185f /src/buffer.c
parent0958e0fbe7307f0b46b8f692cbd097fbf93c90f6 (diff)
updated for version 7.4.069v7.4.069
Problem: Cannot right shift lines starting with #. Solution: Allow the right shift when 'cino' contains #N with N > 0. (Christian Brabandt) Refactor parsing 'cino', store the values in the buffer.
Diffstat (limited to 'src/buffer.c')
-rw-r--r--src/buffer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 7b02ddaf57..8973b42aae 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -211,7 +211,10 @@ open_buffer(read_stdin, eap, flags)
/* if first time loading this buffer, init b_chartab[] */
if (curbuf->b_flags & BF_NEVERLOADED)
+ {
(void)buf_init_chartab(curbuf, FALSE);
+ parse_cino(curbuf);
+ }
/*
* Set/reset the Changed flag first, autocmds may change the buffer.