1
0
forked from aniani/vim

updated for version 7.4.109

Problem:    ColorScheme autocommand matches with the current buffer name.
Solution:   Match with the colorscheme name. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2013-11-28 18:53:52 +01:00
parent 34b466edfe
commit b95186fd36
4 changed files with 15 additions and 4 deletions

View File

@@ -7071,7 +7071,7 @@ load_colors(name)
retval = source_runtime(buf, FALSE);
vim_free(buf);
#ifdef FEAT_AUTOCMD
apply_autocmds(EVENT_COLORSCHEME, NULL, NULL, FALSE, curbuf);
apply_autocmds(EVENT_COLORSCHEME, name, curbuf->b_fname, FALSE, curbuf);
#endif
}
recursive = FALSE;