Friday, January 25, 2013

Re: Updating Syntax menu

On 25/01/13 22:36, russurquhart1@verizon.net wrote:
> I want to thank everyone for their help. I think i found the answer.
>
> According to this url:
>
> http://www.lesismore.co.za/viminform7.html
>
> The relative portion:
>
> Last, you can add the Vim syntax to the Syntax menu. Open Vim and enter :ed $VIMRUNTIME/makemenu.vim. Add the line below just after the older "Inform" entry. You need to source the file (ie. run it) to update the menus: :source $VIMRUNTIME/makemenu.vim.
>
> SynMenu HIJK.Inform7:inform7
>
>
> I entered SynMenu MeNO.MMD:mmd
>
> sourced makemenu.vim and that worked!
>
> Thanks,
>
> Russ


As has repeatedly been said on this list, you should NEVER change
anything in the $VIMRUNTIME tree because any update can do away with
your changes, without telling you that it did. You should rather save
the modified version of makemenu.vim as $VIM/vimfiles/makemenu.vim
(system-wide on any platform) or ~/.vim/makemenu.vim (single-user on
Unix-like systems) or ~/vimfiles/makemenu.vim (single-user on Windows).


Best regards,
猥ony.
--
Why don't elephants eat penguins ?

Because they can't get the wrappers off ...


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

No comments: