Mercurial > vim
view runtime/ftoff.vim @ 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 | 4027cefc2aab |
line wrap: on
line source
" Vim support file to switch off detection of file types " " Maintainer: Bram Moolenaar <Bram@vim.org> " Last change: 2001 Jun 11 if exists("did_load_filetypes") unlet did_load_filetypes endif " Remove all autocommands in the filetypedetect group silent! au! filetypedetect *