forked from aniani/vim
patch 8.1.1366: using expressions in a modeline is unsafe
Problem: Using expressions in a modeline is unsafe.
Solution: Disallow using expressions in a modeline, unless the
'modelineexpr' option is set. Update help, add more tests.
This commit is contained in:
@@ -631,6 +631,7 @@ EXTERN long p_mis; /* 'menuitems' */
|
||||
#ifdef FEAT_SPELL
|
||||
EXTERN char_u *p_msm; /* 'mkspellmem' */
|
||||
#endif
|
||||
EXTERN long p_mle; /* 'modelineexpr' */
|
||||
EXTERN long p_mls; /* 'modelines' */
|
||||
EXTERN char_u *p_mouse; /* 'mouse' */
|
||||
#ifdef FEAT_GUI
|
||||
|
||||
Reference in New Issue
Block a user