diff options
author | Gregory Anders <greg@gpanders.com> | 2022-11-06 19:44:30 -0700 |
---|---|---|
committer | Gregory Anders <greg@gpanders.com> | 2022-11-17 08:23:41 -0700 |
commit | 6d9c3d903ecee2d1d21d0a0806f1a2bebe628e8e (patch) | |
tree | 31cb31b570e2263250471ea2ee08be1b41ac8d31 /src/nvim/mapping.c | |
parent | 294910a1ffd11bea0081c2b92632628ef0462eb1 (diff) | |
download | rneovim-6d9c3d903ecee2d1d21d0a0806f1a2bebe628e8e.tar.gz rneovim-6d9c3d903ecee2d1d21d0a0806f1a2bebe628e8e.tar.bz2 rneovim-6d9c3d903ecee2d1d21d0a0806f1a2bebe628e8e.zip |
refactor: deprecate 'secure' option
Now that 'exrc' files must be explicitly marked trusted there is no need
to constrain what can be done in them.
Diffstat (limited to 'src/nvim/mapping.c')
-rw-r--r-- | src/nvim/mapping.c | 3 |
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); |