aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc/lua.txt
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-10-17 08:52:40 +0200
committerGitHub <noreply@github.com>2022-10-17 08:52:40 +0200
commit042eb74ff1ed63d79f8a642649cd6be6ec4b0eb9 (patch)
tree6205f02b6bc84742b04e83544e2accd88f37670b /runtime/doc/lua.txt
parent9701c9dc9f157c4d09d1783aab9913d05b0d73b1 (diff)
downloadrneovim-042eb74ff1ed63d79f8a642649cd6be6ec4b0eb9.tar.gz
rneovim-042eb74ff1ed63d79f8a642649cd6be6ec4b0eb9.tar.bz2
rneovim-042eb74ff1ed63d79f8a642649cd6be6ec4b0eb9.zip
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.
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r--runtime/doc/lua.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/runtime/doc/lua.txt b/runtime/doc/lua.txt
index 7330453778..ce16c208cd 100644
--- a/runtime/doc/lua.txt
+++ b/runtime/doc/lua.txt
@@ -2045,9 +2045,6 @@ add({filetypes}) *vim.filetype.add()*
See $VIMRUNTIME/lua/vim/filetype.lua for more examples.
- Note that Lua filetype detection is disabled when |g:do_legacy_filetype|
- is set.
-
Example: >
vim.filetype.add({
@@ -2084,7 +2081,7 @@ add({filetypes}) *vim.filetype.add()*
})
<
- To add a fallback match on contents (see |new-filetype-scripts|), use >
+ To add a fallback match on contents, use >
vim.filetype.add {
pattern = {