lichray / nvi2

A multibyte fork of the nvi editor for BSD
Other
144 stars 34 forks source link

Syntax highlighting support? #102

Open p4vook opened 2 years ago

p4vook commented 2 years ago

One thing that has always stopped me from using vi is a lack of syntax highlighting. Is it possible to implement syntax highlighting while keeping the code and philosophy clean?

lichray commented 2 years ago

I thought about highlighting some keywords or matching parenthesizes with underscores or bold text. But all these require some parsing, and these are specific to languages.

kyx0r commented 2 years ago

@pavel-the-best If that's the case see https://github.com/kyx0r/nextvi