diff options
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index 7e14155ec..7c4c9ac17 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -7059,6 +7059,18 @@ au_find_group(name) return AUGROUP_ERROR; } +#if defined(FEAT_BROWSE) || defined(PROTO) +/* + * Return TRUE if augroup "name" exists. + */ + int +au_has_group(name) + char_u *name; +{ + return au_find_group(name) != AUGROUP_ERROR; +} +#endif + /* * ":augroup {name}". */ |