aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ex_cmds2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index a74f7b7d62..93288da2ec 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -2522,8 +2522,8 @@ do_source (
*/
p = path_tail(fname_exp);
if ((*p == '.' || *p == '_')
- && (STRICMP(p + 1, "vimrc") == 0
- || STRICMP(p + 1, "gvimrc") == 0
+ && (STRICMP(p + 1, "nvimrc") == 0
+ || STRICMP(p + 1, "ngvimrc") == 0
|| STRICMP(p + 1, "exrc") == 0)) {
if (*p == '_')
*p = '.';