feat(runtime)!: remove filetype.vim (#20428)

Made obsolete by now graduated `filetype.lua` (enabled by default).

Note that changes or additions to the filetype detection still need to
be made through a PR to vim/vim as we port the _logic_ as well as tests.
This commit is contained in:
Christian Clason
2022-10-17 08:52:40 +02:00
committed by GitHub
parent 9701c9dc9f
commit 042eb74ff1
12 changed files with 27 additions and 4270 deletions

View File

@ -1,5 +1,4 @@
-- Skip if legacy filetype is enabled or filetype detection is disabled
if vim.g.do_legacy_filetype or vim.g.did_load_filetypes then
if vim.g.did_load_filetypes then
return
end
vim.g.did_load_filetypes = 1