mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 23:38:17 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user