aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-07-07 18:53:47 +0200
committerGitHub <noreply@github.com>2022-07-07 18:53:47 +0200
commit72877bb17d70362f91a60b31bf0244dbf8ed58ae (patch)
tree88076380195582a7c8e4a886691c77bd52aa4e1d /runtime/lua/vim
parent0950275b8c8dff37cf08aae0680a248f8e963497 (diff)
downloadrneovim-72877bb17d70362f91a60b31bf0244dbf8ed58ae.tar.gz
rneovim-72877bb17d70362f91a60b31bf0244dbf8ed58ae.tar.bz2
rneovim-72877bb17d70362f91a60b31bf0244dbf8ed58ae.zip
feat(runtime)!: enable filetype.lua by default (#19216)
* revert to filetype.vim by setting `g:do_legacy_filetype` * skip either filetype.lua or filetype.vim via `g:did_load_filetypes` (Running both is no longer required and therefore no longer supported.)
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r--runtime/lua/vim/filetype.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
index fd47e12f07..8e86812347 100644
--- a/runtime/lua/vim/filetype.lua
+++ b/runtime/lua/vim/filetype.lua
@@ -2227,8 +2227,7 @@ end
---
--- See $VIMRUNTIME/lua/vim/filetype.lua for more examples.
---
---- Note that Lua filetype detection is only enabled when |g:do_filetype_lua| is
---- set to 1.
+--- Note that Lua filetype detection is disabled when |g:do_legacy_filetype| is set.
---
--- Example:
--- <pre>