mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
Fix style issues.
* Rename mch_full_name to mch_get_absolute_path. * Rename mch_is_full_name to mch_is_absolute_path. * Add a lot of missing parentheses. * Remove yoda-conditions for consistency. * Remove spaces in function declaration.
This commit is contained in:

committed by
Thiago de Arruda

parent
fdba1761f6
commit
fc86866402
@@ -4188,7 +4188,7 @@ static void syn_cmd_include(exarg_T *eap, int syncing)
|
||||
*/
|
||||
eap->argt |= (XFILE | NOSPC);
|
||||
separate_nextcmd(eap);
|
||||
if (*eap->arg == '<' || *eap->arg == '$' || mch_is_full_name(eap->arg)) {
|
||||
if (*eap->arg == '<' || *eap->arg == '$' || mch_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. */
|
||||
|
Reference in New Issue
Block a user