On Monday, May 2, 2016 at 9:02:49 AM UTC-7, Bram Moolenaar wrote:

> That makes me wonder why you need to use the "after" directory in a
> plugin or package.  I see this plugin adds more Vim script highlighting.
> That seems to be a valid reason.  I can't think of another way to do
> this, without making changes to the Vim syntax highlighting file.

As a hacky workaround, one thing which works but may be suboptimal is appending 
to the rtp from inside the ftplugin file:

let s:path=resolve(expand('<sfile>:p:h:h')) . '/after'
execute 'set rtp+=' . s:path

Tested and it works, but it may be a ghastly hack.

-Greg

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui