1
0
forked from aniani/vim

patch 9.0.1454: code indenting is confused by macros

Problem:    Code indenting is confused by macros.
Solution:   Put semicolon after the macros instead of inside. (Ozaki Kiichi,
            closes #12257)
This commit is contained in:
ichizok
2023-04-15 13:17:50 +01:00
committed by Bram Moolenaar
parent b49dfd0cf2
commit 7e5fe38efc
10 changed files with 66 additions and 56 deletions

View File

@@ -2231,12 +2231,12 @@ check_map_keycodes(void)
int abbr;
int hash;
buf_T *bp;
ESTACK_CHECK_DECLARATION
ESTACK_CHECK_DECLARATION;
validate_maphash();
// avoids giving error messages
estack_push(ETYPE_INTERNAL, (char_u *)"mappings", 0);
ESTACK_CHECK_SETUP
ESTACK_CHECK_SETUP;
// Do this once for each buffer, and then once for global
// mappings/abbreviations with bp == NULL
@@ -2293,7 +2293,7 @@ check_map_keycodes(void)
if (bp == NULL)
break;
}
ESTACK_CHECK_NOW
ESTACK_CHECK_NOW;
estack_pop();
}