mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.4749: <script> is not expanded in autocmd context
Problem: <script> is not expanded in autocmd context. Solution: Add the context to the pattern struct. (closes #10144) Rename AutoPatCmd to AutoPatCmd_T.
This commit is contained in:
@@ -2073,7 +2073,7 @@ struct partial_S
|
||||
dict_T *pt_dict; // dict for "self"
|
||||
};
|
||||
|
||||
typedef struct AutoPatCmd_S AutoPatCmd;
|
||||
typedef struct AutoPatCmd_S AutoPatCmd_T;
|
||||
|
||||
/*
|
||||
* Entry in the execution stack "exestack".
|
||||
@@ -2100,7 +2100,7 @@ typedef struct {
|
||||
#if defined(FEAT_EVAL)
|
||||
ufunc_T *ufunc; // function info
|
||||
#endif
|
||||
AutoPatCmd *aucmd; // autocommand info
|
||||
AutoPatCmd_T *aucmd; // autocommand info
|
||||
except_T *except; // exception info
|
||||
} es_info;
|
||||
#if defined(FEAT_EVAL)
|
||||
|
Reference in New Issue
Block a user