Mercurial > vim
view src/pathdef.sh @ 15066:40d9218b2b12 v8.1.0544
patch 8.1.0544: setting 'filetype' in a modeline causes an error
commit https://github.com/vim/vim/commit/916a818cea5ba05a5f2117407674461b8bee6832
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Nov 25 02:18:29 2018 +0100
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'.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 25 Nov 2018 02:30:10 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et: