[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ranger-users] highlighting in the preview window

From: Alan Warren
Subject: Re: [Ranger-users] highlighting in the preview window
Date: Mon, 25 Apr 2011 08:52:51 -0500

Hey, thanks for the response.

I wouldn't worry about it, since it sounds like it might be difficult. This isn't
very important.

I'll check into the code myself. Perhaps some of the other formats available
for output would be more suitable, or easier to parse.

Thanks again,

On Mon, Apr 25, 2011 at 5:57 AM, Roman Z. <address@hidden> wrote:
Hi Alan,

Ranger doesn't support 256 colors in combination wiht scope.sh.
The reason for that is it can't just display the output of scope.sh on
the screen directly.  It has to parse the color codes, but I found no
specification for 256-color codes... I guess i could search more and add
them some time

On Sun, Apr 24, 2011 at 06:38:02PM -0500, Alan Warren wrote:
> Hello,
> I just noticed ranger supports the highlight app for previewing files in the
> pager area
> with syntax highlighting.  Very cool addition!
> What I'd like to do is use a custom theme from /usr/share/highlight/themes,
> but ranger
> is using ansi output for highlight. This limits highlight to a hard-coded
> basic theme.
> I tried to modify scope.sh to output in "xterm256" mode as opposed to "ansi"
> but highlight
> stopped working.
> I'm curious if this is something I can easily fix, or if it has more to do
> with the internal workings
> of ranger.  If so, it's really not a big deal at all.
> Thanks,
> Alan

reply via email to

[Prev in Thread] Current Thread [Next in Thread]