mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-15 13:17:06 +08:00
Merge 00d3f0ada6 into d863d07832
This commit is contained in:
@@ -5,6 +5,10 @@ Execute (#112 On-demand loading should not suppress messages from ftplugin):
|
||||
Plug '$PLUG_FIXTURES/ftplugin-msg', { 'for': 'c' }
|
||||
call plug#end()
|
||||
|
||||
" Trigger VimEnter (simulate Vim being started), so that s:lod handles
|
||||
" filetypeindent/filetypeplugin."
|
||||
doautocmd VimEnter
|
||||
|
||||
redir => out
|
||||
tabnew a.c
|
||||
redir END
|
||||
|
||||
@@ -1230,7 +1230,7 @@ Execute (Filetype-based on-demand loading):
|
||||
AssertEqual ['xxx/ftdetect', 'xxx/after/ftdetect'], g:xxx
|
||||
|
||||
setf xxx
|
||||
AssertEqual ['xxx/ftdetect', 'xxx/after/ftdetect', 'xxx/plugin', 'xxx/after/plugin', 'xxx/syntax', 'xxx/after/syntax', 'xxx/ftplugin', 'xxx/after/ftplugin', 'xxx/indent', 'xxx/after/indent'], g:xxx
|
||||
AssertEqual ['xxx/ftdetect', 'xxx/after/ftdetect', 'xxx/plugin', 'xxx/after/plugin', 'xxx/syntax', 'xxx/after/syntax'], g:xxx
|
||||
|
||||
" syntax/xxx.vim and after/syntax/xxx.vim should not be loaded (#410)
|
||||
setf yyy
|
||||
|
||||
Reference in New Issue
Block a user