Author: Jon Eskin <email@example.com>
Date: Sat, 20 Aug 2022 04:13:08 -0400
|M||README.md|| | ||33||+++++----------------------------|
1 file changed, 5 insertions(+), 28 deletions(-)
diff --git a/README.md b/README.md
@@ -1,14 +1,10 @@
-clp writes input files to stdout with syntax highlighting. I wrote it to fill fzf's preview window.
-It aims to be relatively fast, provide wide language support, and be easy
-to extend with new languages. It currently supports 150 languages.
+clp writes input files to stdout with syntax highlighting. It aims to be relatively fast, provide wide language support, and be easy to extend with new languages. It currently supports 150 languages.
-Language support is implemented with LPEG, a tool developed by PUC which uses
-parsing expression grammars to improve upon traditional regex parsers
-(described in depth in [this article](http://www.inf.puc-rio.br/~roberto/docs/peg.pdf)).
+Language support is implemented with LPEG, a tool developed by PUC which uses parsing expression grammars to improve upon traditional regex parsers (described in depth in [this article](http://www.inf.puc-rio.br/~roberto/docs/peg.pdf)).
More information is available [here](https://jeskin.net/blog/clp/), along with a blog post showing [how I use it with fzf](https://jeskin.net/blog/grep-fzf-clp/).
@@ -62,7 +58,7 @@ Highlight a non-blank line
-I intended clp to fill fzf's preview window, so I wanted it to be fast and support a large number of languages.
+Existing syntax highlighting programs are either relatively slow or support a small number of languages. `clp` aims to be faster without compromising on language support.
Here are some quick benchmarks comparing similar programs running on my machine (clp
installed with LuaJIT, highlighting
@@ -89,30 +85,11 @@ clprc.theme = "ansi-16"
-### Setting your colorscheme
+### Changing your colorscheme
-To change your colorscheme, change the value of `clprc.theme` in `clprc.lua` to one of the following:
-### 3-bit ANSI theme
-### Truecolor themes
+Instructions [available here](https://jeskin.net/blog/clp-color-themes/).
Contributions are welcome! Feel free to send a pull request on [Github](https://github.com/jpe90/clp)
or a patch on [Sourcehut](https://git.sr.ht/~eskin/clp).
-Here are some things that would be especially helpful:
-- Better interface for customizing color themes
-- Code quality & performance improvements