On Tue, Aug 10, 2010 at 7:35 PM, Benjamin R. Haskell <[email protected]> wrote:

>
> Sorry, I should have been more explicit.  That's what I'm doing above.
> Note the path of the files:
>
> ~/.vim/after/syntax/
>
> The '~' indicates my home directory, so that's in my personal .vim
> directory.  Based on the default setting of 'runtimepath', Windows uses
> 'vimfiles' instead of '.vim'.  Using Vim 7.3e beta under Windows 7, your
> 'syn match' line worked if I put it in the file:
>
> C:\Users\bhaskell\vimfiles\after\syntax\cpp.vim
>
> Under pre-Vista rules, IIRC:
>
> C:\Documents and Settings\bhaskell\vimfiles\after\syntax\cpp.vim
>
> (Replacing bhaskell with your own username, of course.)
>
> --
> Best,
> Ben
>
Sorry Ben, I should also have been more explicit.
On my installation of vim, there is no "vimfiles" directory per user, and
maybe caused by lack of full formal installation.

I usually modified the _vimrc file within the installation directory, or the
project specific _vimrc file within the project directory.
My question is, can I just modify these two _vimrc file to achieve the same
object to that by writing a line to cpp.vim

Many thanks for patience.
Wayne

-- 
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

Reply via email to