mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2194: Vim9: cannot use :const or :final at the script level
Problem: Vim9: cannot use :const or :final at the script level. Solution: Support using :const and :final. (closes #7526)
This commit is contained in:
@@ -2144,7 +2144,7 @@ typedef enum {
|
||||
// Flags for assignment functions.
|
||||
#define ASSIGN_FINAL 1 // ":final"
|
||||
#define ASSIGN_CONST 2 // ":const"
|
||||
#define ASSIGN_NO_DECL 4 // "name = expr" without ":let" or ":const"
|
||||
#define ASSIGN_NO_DECL 4 // "name = expr" without ":let"/":const"/":final"
|
||||
|
||||
#include "ex_cmds.h" // Ex command defines
|
||||
#include "spell.h" // spell checking stuff
|
||||
|
Reference in New Issue
Block a user