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 So you've wrung your eyes of all your tears And you caught them in a glass To save them for some day next year, when you're waxing over your past And should you ever begin to believe That the good times was worth all the waste Find your glass of last year's tears and you take a taste On 01/24/13, Tony Mechelynck<[email protected]> wrote: On 24/01/13 17:07, [email protected] wrote: > > Hi, > > I've been adding new syntax files, and putting them in the correct location, > but i don't know if i am supposed to manually update the synmenu.vim file, or > does some other process do that, so that my new syntax files show up in the > menu. > > Any help is greatly appreciated! > > thanks, > > Russ > IIUC, "Syntax → Show filetypes in menu" doesn't add menuitems with the name of *syntax* plugins but of *filetype* plugins. If your new syntax scripts don't appear, try adding zero-length files of the same names (not overwriting existing scripts, of course) in ~/.vim/ftplugin/ (for Unix-like) or in ~/vimfiles/ftplugin/ (for Windows). You may have to restart Vim (I'm not sure) to have the new filetypes inserted in the Syntax menu. If *that* doesn't work, then don't modify $VIMRUNTIME/synmenu.vim (in general, NEVER modify ANYTHING in the $VIMRUNTIME directory tree, because any Vim update may silently remove your changes); rather, add additional synmenu.vim files in ~/.vim/ (for Unix-like) or in ~/vimfiles (for Windows). IIUC they will be sourced in addition to the default scripts, because Vim installs them by doing ":runtime! synmenu.vim" (see ":help :runtime"). Best regards, Tony. -- You can be stopped by the police for biking over 65 miles per hour. You are not allowed to walk across a street on your hands. [real standing laws in Connecticut, United States of America] -- -- 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 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
