aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-29 23:15:10 -0500
committerGitHub <noreply@github.com>2020-12-29 23:15:10 -0500
commit69fc6c2de011e6da556fedd3a058fecf47883b8e (patch)
tree9006ba0046c9b5f283ef28d190837d137cc3f312 /src/nvim/ex_docmd.c
parentc762f5220b02036e4eb9097a1d2a9fded6375fa0 (diff)
parentd2837d5efce31c52f9c90344560a7fcc446ccee8 (diff)
downloadrneovim-69fc6c2de011e6da556fedd3a058fecf47883b8e.tar.gz
rneovim-69fc6c2de011e6da556fedd3a058fecf47883b8e.tar.bz2
rneovim-69fc6c2de011e6da556fedd3a058fecf47883b8e.zip
Merge pull request #13552 from janlazo/vim-8.1.0149
vim-patch:8.1.{149,151,790,2100}
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r--src/nvim/ex_docmd.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c
index 3fc02e0693..35b0755bd8 100644
--- a/src/nvim/ex_docmd.c
+++ b/src/nvim/ex_docmd.c
@@ -4769,10 +4769,8 @@ static void ex_abclear(exarg_T *eap)
static void ex_autocmd(exarg_T *eap)
{
- /*
- * Disallow auto commands from .exrc and .vimrc in current
- * directory for security reasons.
- */
+ // Disallow autocommands from .exrc and .vimrc in current
+ // directory for security reasons.
if (secure) {
secure = 2;
eap->errmsg = e_curdir;