forked from aniani/vim
patch 8.2.3970: error messages are spread out
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
This commit is contained in:
@@ -677,7 +677,7 @@ did_set_string_option(
|
||||
|| sandbox != 0
|
||||
#endif
|
||||
) && (get_option_flags(opt_idx) & P_SECURE))
|
||||
errmsg = e_secure;
|
||||
errmsg = e_not_allowed_here;
|
||||
|
||||
// Check for a "normal" directory or file name in some options. Disallow a
|
||||
// path separator (slash and/or backslash), wildcards and characters that
|
||||
|
Reference in New Issue
Block a user