diff options
Diffstat (limited to 'runtime/doc/lua.txt')
-rw-r--r-- | runtime/doc/lua.txt | 5 |
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 = { |