mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +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:
@@ -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 == '_')
|
||||
|
Reference in New Issue
Block a user