diff options
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c index 3d11a8f603..31e72a23d1 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -4202,7 +4202,7 @@ static void syn_cmd_include(exarg_T *eap, int syncing) */ eap->argt |= (XFILE | NOSPC); separate_nextcmd(eap); - if (*eap->arg == '<' || *eap->arg == '$' || os_is_absolute_path(eap->arg)) { + 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. */ |