mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
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.)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user