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

@@ -2285,8 +2285,6 @@ end
---
--- See $VIMRUNTIME/lua/vim/filetype.lua for more examples.
---
--- Note that Lua filetype detection is disabled when |g:do_legacy_filetype| is set.
---
--- Example:
--- <pre>
--- vim.filetype.add({
@@ -2323,7 +2321,7 @@ end
--- })
--- </pre>
---
--- To add a fallback match on contents (see |new-filetype-scripts|), use
--- To add a fallback match on contents, use
--- <pre>
--- vim.filetype.add {
--- pattern = {