aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mapping.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/mapping.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/mapping.c')
-rw-r--r--src/nvim/mapping.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/mapping.c b/src/nvim/mapping.c
index 9b10ea901e..76a646083e 100644
--- a/src/nvim/mapping.c
+++ b/src/nvim/mapping.c
@@ -2446,8 +2446,7 @@ void ex_abbreviate(exarg_T *eap)
/// ":map" and friends.
void ex_map(exarg_T *eap)
{
- // If we are sourcing .exrc or .vimrc in current directory we
- // print the mappings for security reasons.
+ // If we are in a secure mode we print the mappings for security reasons.
if (secure) {
secure = 2;
msg_outtrans(eap->cmd);