forked from aniani/vim
patch 8.0.0423: changing 'cinoptions' does not always work
Problem: The effect of adding "#" to 'cinoptions' is not always removed. (David Briscoe) Solution: Reset b_ind_hash_comment. (Christian Brabandt, closes #1475)
This commit is contained in:
@@ -6974,6 +6974,9 @@ parse_cino(buf_T *buf)
|
||||
* while(). */
|
||||
buf->b_ind_if_for_while = 0;
|
||||
|
||||
/* indentation for # comments */
|
||||
buf->b_ind_hash_comment = 0;
|
||||
|
||||
for (p = buf->b_p_cino; *p; )
|
||||
{
|
||||
l = p++;
|
||||
|
Reference in New Issue
Block a user