Re: [dev] Kilo - small, simple text editor with syntax highlighting in ~1K lines of code

From: Louis Santillan <lpsantil_AT_gmail.com>
Date: Tue, 19 Jul 2016 12:25:28 -0700

Syntax highlighting color:
https://github.com/antirez/kilo/blob/master/kilo.c#L505

On Tue, Jul 19, 2016 at 11:07 AM, Eric Pruitt <eric.pruitt_AT_gmail.com> wrote:
> On Tue, Jul 19, 2016 at 07:51:49PM +0200, lukáš Hozda wrote:
>> Oh, this looks pretty neat. How does the syntax highlighting work? Is
>> it hardcoded or are the some configuration files somewhere?
>
> It's hardcoded: https://github.com/antirez/kilo/blob/master/kilo.c#L350
>
> Eric
>
Received on Tue Jul 19 2016 - 21:25:28 CEST

This archive was generated by hypermail 2.3.0 : Tue Jul 19 2016 - 21:36:11 CEST