Monday, May 21, 2012

Re: Using vim to syntax highlight stdin

Hi Magnus,

Ah! Yes, me want! :)

Is there any way to get it to read from stdin?

eg. ./myprog | blob.vim -c "setl filetype=log" -

Also, the syntax highlighting has a bug:

Highlighting in Vim: http://www.tiikoni.com/tis/view/?id=70b54d5
Highlighting in Blob: http://www.tiikoni.com/tis/view/?id=9315eef

Scott. :)


On Tuesday, May 22, 2012 2:14:50 PM UTC+10, Magnus Woldrich wrote:
> On May 22, Scott (Scott) wrote:
> >My question is about preventing pagination. I'd like to use Vim syntax
> >highlighting to highlight my program output but I do NOT want to Vim to
> >paginate the output.
>
> You want the data highlighted on stdout?
>
> https://github.com/trapd00r/utils/blob/master/v
>
> --
> Magnus Woldrich
> m@japh.se, woldrich@cpan.org
> irc: scp1 on freenode
> uri: http://japh.se

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

Post a Comment