You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Anyway, for option was designed to take a string of a single file type or a list of multiple file types, and there's no code in vim-plug that processes comma-separated file types. It may not work correctly if you have multiple plugins with overlapping sets of for options.
When a file of type a is open, foo is loaded, and vim-plug will try to clear the hook by executing autocmd! PlugLOD Filetype a,b,c, which will cause the autocmds for bar to be cleared as well, and bar will never get loaded.
But if you specify the types as a list, vim-plug will correctly handle such cases.
This was the only (non-source code) documentation I could find on this.
It would be helpful to add this to the wiki/documentation.
The text was updated successfully, but these errors were encountered: