updated for version 7.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.
diff --git a/src/buffer.c b/src/buffer.c
index 7b02dda..8973b42 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -211,7 +211,10 @@
/* 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.