* ":let var ..= expr" assignment command.
* ":let [var1, var2] = expr" unpack list.
* ":let var =<< ..." heredoc
+ * ":let var: string" Vim9 declaration
*/
void
ex_let(exarg_T *eap)
}
/*
- * Return the contents of a register as a single allocated string.
+ * Return the contents of a register as a single allocated string or as a list.
* Used for "@r" in expressions and for getreg().
* Returns NULL for error.
* Flags:
* GREG_NO_EXPR Do not allow expression register
* GREG_EXPR_SRC For the expression register: return expression itself,
* not the result of its evaluation.
- * GREG_LIST Return a list of lines in place of a single string.
+ * GREG_LIST Return a list of lines instead of a single string.
*/
char_u *
get_reg_contents(int regname, int flags)