Files
neovim/runtime
Gregory Anders de6f9233ee refactor: source ftplugin.vim separately from filetype.vim (#17129)
This is a follow-on to #17040. The real benefit of #17040 was ensuring
that the ftplugin FileType autocommand was defined first and thus always
fired first. A side effect of the implementation in #17040 was that
setting variables that modified the state of filetype detection (such as
g:did_load_filetypes or g:do_filetype_lua) could no longer be set in the
user's init file. Filetype detection can also no longer be prevented
from loading by using `:filetype off`.

This PR addresses both of those side effects by unconditionally sourcing
ftplugin.vim and indent.vim before the user's init file (which ensures
that these autocommands run first) and sourcing filetype.vim *after* the
user's init file (thus allowing it to be blocked or modified).
2022-01-18 12:46:41 -07:00
..
2021-05-01 14:22:52 -04:00
2021-09-13 16:33:41 +02:00
2022-01-11 14:14:17 +01:00
2021-09-13 16:33:41 +02:00
2021-05-01 22:29:03 -04:00
2021-11-17 10:02:59 +01:00
2014-12-19 15:28:49 -05:00
2021-03-09 19:21:26 +01:00
2022-01-17 11:58:36 +01:00
2021-11-27 19:39:42 +01:00
2019-07-29 20:50:07 +02:00
2022-01-17 11:58:36 +01:00
2021-04-27 09:21:32 -04:00
2021-04-28 21:57:50 -04:00
2019-07-29 20:50:07 +02:00
2021-05-01 22:29:03 -04:00
2021-12-25 11:31:54 +08:00
2021-05-01 22:29:02 -04:00