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:
@@ -2020,7 +2020,7 @@ apply_autocmds_group(
|
||||
save_redo_T save_redo;
|
||||
int save_KeyTyped = KeyTyped;
|
||||
int save_did_emsg;
|
||||
ESTACK_CHECK_DECLARATION
|
||||
ESTACK_CHECK_DECLARATION;
|
||||
|
||||
/*
|
||||
* Quickly return if there are no autocommands for this event or
|
||||
@@ -2226,7 +2226,7 @@ apply_autocmds_group(
|
||||
|
||||
// name and lnum are filled in later
|
||||
estack_push(ETYPE_AUCMD, NULL, 0);
|
||||
ESTACK_CHECK_SETUP
|
||||
ESTACK_CHECK_SETUP;
|
||||
|
||||
save_current_sctx = current_sctx;
|
||||
|
||||
@@ -2339,7 +2339,7 @@ apply_autocmds_group(
|
||||
filechangeshell_busy = FALSE;
|
||||
autocmd_nested = save_autocmd_nested;
|
||||
vim_free(SOURCING_NAME);
|
||||
ESTACK_CHECK_NOW
|
||||
ESTACK_CHECK_NOW;
|
||||
estack_pop();
|
||||
vim_free(autocmd_fname);
|
||||
autocmd_fname = save_autocmd_fname;
|
||||
|
Reference in New Issue
Block a user