Monday, December 21, 2009

Re: Print All Syntax Highlight File Types

Eww that's pretty messy.

I guess I would have to parse the strings for file name...

On Tue, Dec 22, 2009 at 1:43 AM, Christian Brabandt <cblists@256bit.org> wrote:
On Tue, December 22, 2009 5:13 am, Stratis Aftousmis wrote:
> Hello! : )
>
> Is there a command to print all syntax highlight file types in vim?
>
> I am writing a script that sends a command to vim and returns the
> different highlight file types vim supports.

echo globpath(&rtp, "**/syntax/*.vim")

regards,
Christian

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: