annotate runtime/ftoff.vim @ 20731:ab27db64f1fb
v8.2.0918
patch 8.2.0918: duplicate code for evaluating expression argument
Commit: https://github.com/vim/vim/commit/a9c010494767e43a51c443cac35ebc80d0831d0b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 14:50:50 2020 +0200
patch 8.2.0918: duplicate code for evaluating expression argument
Problem: Duplicate code for evaluating expression argument.
Solution: Merge the code and make the use more flexible.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 07 Jun 2020 15:00:04 +0200 |
parents |
3fc0f57ecb91 |
children |
4027cefc2aab |
rev |
line source |
7
|
1 " Vim support file to switch off detection of file types
|
|
2 "
|
|
3 " Maintainer: Bram Moolenaar <Bram@vim.org>
|
|
4 " Last change: 2001 Jun 11
|
|
5
|
|
6 if exists("did_load_filetypes")
|
|
7 unlet did_load_filetypes
|
|
8 endif
|
|
9
|
|
10 " Remove all autocommands in the filetypedetect group
|
|
11 silent! au! filetypedetect *
|