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
..
autoload fix(man.vim): support calling :Man without a section again (#17119) 2022-01-17 11:45:46 -07:00
colors
compiler vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
doc refactor: source ftplugin.vim separately from filetype.vim (#17129) 2022-01-18 12:46:41 -07:00
ftplugin vim-patch:2f0936cb9a2e (#17007) 2022-01-11 14:14:17 +01:00
indent vim-patch:partial fa3b72348d88 (#16780) 2021-12-26 11:03:25 +01:00
keymap vim-patch:6c391a74fe90 (#15654) 2021-09-13 16:33:41 +02:00
lua perf(lsp): request only changed portions of the buffer in changetracking (#17118) 2022-01-17 08:19:33 -08:00
macros
pack/dist/opt vim-patch:fd31be29b822 (#17114) 2022-01-17 11:58:36 +01:00
plugin vim-patch:519cc559b08b (#16340) 2021-11-17 10:02:59 +01:00
print
queries/c
spell
syntax vim-patch:fd31be29b822 (#17114) 2022-01-17 11:58:36 +01:00
tools vim-patch:6304be625ce4 (#16450) 2021-11-27 19:39:42 +01:00
tutor
bugreport.vim
CMakeLists.txt vim-patch:8.2.3676: unused runtime file (#16441) 2021-11-26 17:16:11 +01:00
delmenu.vim
filetype.lua fix(filetype): match on <afile> rather than <abuf> (#16943) 2022-01-05 09:50:54 -07:00
filetype.vim vim-patch:fd31be29b822 (#17114) 2022-01-17 11:58:36 +01:00
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim
mswin.vim
nvim.appdata.xml fix(runtime): add missing release metadata 2021-12-31 19:04:37 +01:00
nvim.desktop
nvim.png
optwin.vim vim-patch:partial:0e6adf8a29d5 2021-12-25 11:31:54 +08:00
scripts.vim vim-patch:8.2.4095: sed script not recognized by the first line (#17101) 2022-01-15 14:47:25 +01:00
synmenu.vim