I have plugins in
pack/ttm/opt/<aplugin>/

they have directories such as
plugin/ syntax/ ftdetect/

and all always works as expected.

Only the after/ directory has a "problem":
i have files e.g. in:
pack/ttm/opt/<aplugin>/after/plugin/<afile.vim>

Such afile.vim is not loaded unless i execute:
:runtime! plugin/**/*.vim<CR>

Is this the expected behavior?
In ":h after" is stated that runtime files are searched for
in the after directories of the system-wide Vim directory
and on the home directory.
But in :h packages
it also states that after directory of a pack plugin
is added to &rtp.

Although in :h packages it is stated that
'The "after" directory is most likely not useful in a package.  It's not
disallowed though.',
it seems to me that an after directory is very useful in
package to make final commands with everything loaded,
and be sure that some variables and settings are as expected,
to host user-defined configurations that apply only to the plugin,
and whatnot...

Any clues?
tx again

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_use+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to