aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2022-11-17 08:47:41 -0700
committerGitHub <noreply@github.com>2022-11-17 08:47:41 -0700
commit32cba4cee6c2ca232b5def16fe1bae8166d093f1 (patch)
tree31cb31b570e2263250471ea2ee08be1b41ac8d31 /src/nvim/runtime.c
parent9736605672e8648bbe8739a6fdd1c315183bce40 (diff)
parent6d9c3d903ecee2d1d21d0a0806f1a2bebe628e8e (diff)
downloadrneovim-32cba4cee6c2ca232b5def16fe1bae8166d093f1.tar.gz
rneovim-32cba4cee6c2ca232b5def16fe1bae8166d093f1.tar.bz2
rneovim-32cba4cee6c2ca232b5def16fe1bae8166d093f1.zip
Merge pull request #20956 from gpanders/lua-readsecure
feat: implement vim.secure.read() and use it for 'exrc'
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index e1a2483438..db8dc04907 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -1930,7 +1930,7 @@ int do_source(char *fname, int check_other, int is_vimrc)
cookie.fp = fopen_noinh_readbin(fname_exp);
if (cookie.fp == NULL && check_other) {
- // Try again, replacing file name ".vimrc" by "_vimrc" or vice versa,
+ // Try again, replacing file name ".nvimrc" by "_nvimrc" or vice versa,
// and ".exrc" by "_exrc" or vice versa.
p = path_tail(fname_exp);
if ((*p == '.' || *p == '_')