diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-08-12 19:59:19 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-08-12 19:59:19 +0000 |
commit | 90cfdbe040320952e6b542d0633987f082b0f158 (patch) | |
tree | 2063faaaf71645ca7c2cb575ca612e3b664fa988 /src/syntax.c | |
parent | e5b8e3d3c6139c53c8aea63471e7d0285ab748e0 (diff) | |
download | vim-git-90cfdbe040320952e6b542d0633987f082b0f158.tar.gz |
updated for version 7.0129v7.0129
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c index 0c714d1bb..4c4cbadba 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -4421,7 +4421,7 @@ syn_cmd_include(eap, syncing) prev_toplvl_grp = curbuf->b_syn_topgrp; curbuf->b_syn_topgrp = sgl_id; if (source ? do_source(eap->arg, FALSE, FALSE) == FAIL - : cmd_runtime(eap->arg, TRUE) == FAIL) + : source_runtime(eap->arg, TRUE) == FAIL) EMSG2(_(e_notopen), eap->arg); curbuf->b_syn_topgrp = prev_toplvl_grp; current_syn_inc_tag = prev_syn_inc_tag; @@ -6174,7 +6174,7 @@ init_highlight(both, reset) else { ++recursive; - (void)cmd_runtime((char_u *)"syntax/syncolor.vim", TRUE); + (void)source_runtime((char_u *)"syntax/syncolor.vim", TRUE); --recursive; } } @@ -6204,7 +6204,7 @@ load_colors(name) if (buf != NULL) { sprintf((char *)buf, "colors/%s.vim", name); - retval = cmd_runtime(buf, FALSE); + retval = source_runtime(buf, FALSE); vim_free(buf); #ifdef FEAT_AUTOCMD apply_autocmds(EVENT_COLORSCHEME, NULL, NULL, FALSE, curbuf); |