forked from aniani/vim
patch 8.2.2182: Vim9: value of 'magic' is still relevant
Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
This commit is contained in:
@@ -1938,3 +1938,8 @@ EXTERN int channel_need_redraw INIT(= FALSE);
|
||||
|
||||
#define FOR_ALL_LIST_ITEMS(l, li) \
|
||||
for ((li) = (l)->lv_first; (li) != NULL; (li) = (li)->li_next)
|
||||
|
||||
// While executing a regexp and set to MAGIC_ON or MAGIC_OFF this overrules
|
||||
// p_magic. Otherwise set to MAGIC_NOT_SET.
|
||||
|
||||
EXTERN magic_T magic_overruled INIT(= MAGIC_NOT_SET);
|
||||
|
Reference in New Issue
Block a user