diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-03-24 16:07:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-24 16:07:11 +0100 |
commit | 1b61167373420440535cb975804fd9e728025011 (patch) | |
tree | bdd88851fad1197bc0965647a8525e0fb86b1841 /src/nvim/syntax.c | |
parent | 84a25770ac4b1c18f0e6bd1e17bdda7eb3c6afa0 (diff) | |
parent | 0ecf7e3a2d3bf4c8062ebf1d462a16d716a37352 (diff) | |
download | rneovim-1b61167373420440535cb975804fd9e728025011.tar.gz rneovim-1b61167373420440535cb975804fd9e728025011.tar.bz2 rneovim-1b61167373420440535cb975804fd9e728025011.zip |
Merge #8168 'refactor: rename some functions'
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index b2c28183a6..8ec393e568 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -4239,11 +4239,11 @@ static void syn_cmd_include(exarg_T *eap, int syncing) */ eap->argt |= (XFILE | NOSPC); separate_nextcmd(eap); - if (*eap->arg == '<' || *eap->arg == '$' || path_is_absolute_path(eap->arg)) { - /* For an absolute path, "$VIM/..." or "<sfile>.." we ":source" the - * file. Need to expand the file name first. In other cases - * ":runtime!" is used. */ - source = TRUE; + if (*eap->arg == '<' || *eap->arg == '$' || path_is_absolute(eap->arg)) { + // For an absolute path, "$VIM/..." or "<sfile>.." we ":source" the + // file. Need to expand the file name first. In other cases + // ":runtime!" is used. + source = true; if (expand_filename(eap, syn_cmdlinep, &errormsg) == FAIL) { if (errormsg != NULL) EMSG(errormsg); |