In this case, i had a syntax file and a ftdetect file. (For multimarkdown.) I 
put the syntax and ftdetect files in the correct location. the file type is 
found, but the syntax menu does not update. 

 
 
 
 
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



Reply via email to