Steven Woody wrote:
> Hi,
> Reading the "help after-directory" leads me into confusing.  I tried many
> place to put my after script, e.g. ~/vimfiles/after/a.c. But it seems it is
> not loaded.  So, Would you please show me that. Thanks.
>
>

Where the script goes depends on what you are trying to do.

If you're trying to load a script to override or enhance a filetype-
specific plugin, the proper place is:

$HOME/vimfiles/after/ftplugin/filetypename.vim (Windows)
$HOME/.vim/after/ftplugin/filetypename.vim (Unix)

Replace filetypename with the filetype in question, for example a C++
plugin override would be named cpp.vim.

For syntax file additions, the place is

$HOME/vimfiles/after/syntax/filetypename.vim (Windows)
$HOME/.vim/after/syntax/filetypename.vim (Unix)

There is also an after/plugin directory. There may be others, but I
haven't used them if there are.

To determine where $HOME is on Windows, go into Vim, and :echo $HOME
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to