aboutsummaryrefslogtreecommitdiff
path: root/lua/trie.lua
Commit message (Collapse)AuthorAge
* Improve algorithm performance and correctness. (#15)Ashkan Kiani2019-10-18
| | | | | | | | | | | - Disable highlighting for HEX codes and NAME codes when preceded by alphanumeric codes. - Hand written parser with 1 pass parsing. - Update Trie to be more ergonomic. - Add test file with expected outputs for edge cases. - Cache matcher creation and refactor. - Refactor Faster than ever baby
* Update color functions (#13)Ashkan Kiani2019-10-18
| | | | | | - Add hsl, hsla, rgba, RRGGBBAA - Redo the parser for rgb,rgba,hsl,hsla codes. - Fix the trie implementation. - Bugfix and refactor alpha/error handling
* Add readme, docs, rgb(), #RGB, and optionsAshkan Kiani2019-10-17
| | | | | | | - Add support for `rgb(...)` functions behind an option gate. - Highlight #RGB codes. - Add options, like `rgb_fn` and `no_names` - Add luadoc.
* Initial commit.Ashkan Kiani2019-10-17