mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4318: various comment and indent mistakes, returning wrong zero
Problem: Various comment and indent mistakes, returning wrong zero. Solution: Fix the mistakes. Return NULL instead of FAIL.
This commit is contained in:
@@ -3461,7 +3461,8 @@ set_var_const(
|
||||
semsg(_(e_illegal_variable_name_str), name);
|
||||
goto failed;
|
||||
}
|
||||
is_script_local = ht == get_script_local_ht() || sid != 0 || var_in_autoload;
|
||||
is_script_local = ht == get_script_local_ht() || sid != 0
|
||||
|| var_in_autoload;
|
||||
|
||||
if (vim9script
|
||||
&& !is_script_local
|
||||
|
Reference in New Issue
Block a user