Thursday, January 24, 2013

Re: Re: Re: Updating Syntax menu

Tony had also suggested creating an empty ftplugin file. I did that, put it in ftplugin, restarted vim, but the syntax menu didn't get updated.

I'm thinking something manual has to be done, because i have other syntax files, that work, and have their files in the right place but the syntax menu does not show these either.

Thanks everyone for their help,

Russ





On 01/24/13, Ben Fritz<fritzophrenic@gmail.com> wrote:

On Thursday, January 24, 2013 2:07:01 PM UTC-6, russur wrote:
> 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.
>

Tony suggested that you try creating at ftplugin file, not an ftdetect file. Still, looking at the synmenu.vim file, it doesn't look like that would have made any difference either. I think you will need to copy and then modify the file as Tony suggest. I see another file called makemenu.vim which apparently generates synmenu.vim, perhaps you can modify and use that instead of direct modification. You'll still want to work on a local copy instead of the distribution copy.

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

No comments: