1
0
forked from aniani/vim

patch 8.1.0544: setting 'filetype' in a modeline causes an error

Problem:    Setting 'filetype' in a modeline causes an error (Hirohito
            Higashi).
Solution:   Don't add the P_INSECURE flag when setting 'filetype' from a
            modeline.  Also for 'syntax'.
This commit is contained in:
Bram Moolenaar
2018-11-25 02:18:29 +01:00
parent 4e303c8ba8
commit 916a818cea
3 changed files with 140 additions and 22 deletions

View File

@@ -792,6 +792,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
544,
/**/
543,
/**/