Files
neovim/runtime/doc
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
..
2022-01-17 18:28:23 +00:00
2021-09-10 08:48:27 +02:00
2022-01-17 11:58:36 +01:00
2022-01-04 11:07:40 -07:00
2022-01-11 14:14:17 +01:00
2021-09-23 06:59:30 -07:00
2022-01-04 11:07:40 -07:00
2021-09-08 07:24:12 -07:00
2022-01-17 11:58:36 +01:00
2022-01-11 14:14:17 +01:00
2022-01-04 07:28:29 -07:00
2018-10-29 09:32:29 +01:00
2021-09-10 08:48:27 +02:00
2021-09-10 08:48:27 +02:00
2018-10-29 10:01:44 +01:00
2021-09-08 07:24:12 -07:00
2018-10-29 09:55:07 +01:00
2022-01-11 14:14:17 +01:00
2022-01-11 14:14:17 +01:00
2021-11-17 10:02:59 +01:00
2022-01-11 14:14:17 +01:00
2022-01-11 14:14:17 +01:00
2021-09-09 00:37:59 -07:00
2022-01-04 11:07:40 -07:00
2022-01-17 18:28:23 +00:00
2022-01-17 18:28:23 +00:00
2018-08-25 15:25:49 +02:00
2021-04-28 21:29:57 -04:00
2022-01-17 11:58:36 +01:00
2022-01-11 14:14:17 +01:00
2022-01-11 14:14:17 +01:00
2021-09-10 08:48:27 +02:00
2019-03-26 19:55:33 +01:00
2022-01-11 14:14:17 +01:00
2022-01-11 14:14:17 +01:00
2018-10-29 09:55:07 +01:00
2021-11-27 11:10:48 -05:00
2021-09-13 06:05:27 -07:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2015-08-15 15:25:30 -03:00
2021-11-17 10:02:59 +01:00
2021-10-05 14:12:16 +02:00
2021-09-10 06:59:17 -07:00
2022-01-11 14:14:17 +01:00
2021-04-29 21:08:09 -04:00
2019-03-26 19:55:33 +01:00
2021-09-10 08:48:27 +02:00
2019-08-02 16:20:22 +02:00
2021-09-08 07:24:12 -07:00
2022-01-11 14:14:17 +01:00
2021-04-27 09:21:35 -04:00
2022-01-04 11:07:40 -07:00
2022-01-17 18:28:23 +00:00
2021-04-27 09:21:31 -04:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:30 -04:00
2021-05-02 13:00:38 -04:00
2021-05-01 23:19:57 -04:00
2021-05-02 10:23:35 -04:00
2019-08-02 16:20:22 +02:00
2021-04-27 21:47:42 -04:00
2021-09-08 07:24:12 -07:00
2021-09-08 07:24:12 -07:00
2021-04-28 21:29:56 -04:00
2021-05-01 22:29:02 -04:00
2021-05-02 12:53:49 -04:00
2021-11-22 10:53:57 +01:00
2021-05-01 22:29:03 -04:00
2021-04-27 09:21:33 -04:00
2018-10-29 10:01:44 +01:00
2021-04-29 09:27:19 -04:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2021-04-29 20:42:16 -04:00
2021-04-29 20:42:16 -04:00
2018-10-29 10:01:44 +01:00
2021-04-29 20:42:16 -04:00
2019-03-26 19:55:33 +01:00
2021-04-27 09:21:34 -04:00
2022-01-17 11:58:36 +01:00
2021-05-01 23:19:57 -04:00
2021-11-22 10:53:57 +01:00
2022-01-11 14:14:17 +01:00