summary refs log tree commit diff
path: root/bin/hi.c (follow)
Commit message (Collapse)AuthorAge
* Remove hi line numberingJune McEnroe2019-02-18
| | | | | | Tags are much better for referring to specific parts of a file and line numbering is better done by a post-processing tool such as cat -n or producing a two-column HTML <table>.
* Add Tag class to hiJune McEnroe2019-02-18
|
* Add hi -f html -o anchor for line number linksJune McEnroe2019-02-17
|
* Add line numbers to hiJune McEnroe2019-02-17
| | | | | | | Renames previous -n option to -m to stay consistent with cat -n. Prefixing lines with line numbers affects where the first tab indent ends up relative to the text above it. Not sure if it's worth fixing somehow.
* Always split spans after newlinesJune McEnroe2019-02-17
| | | | | Simplifies ANSI and IRC output code, and prepares for line numbered output.
* Highlight Interp as yellowJune McEnroe2019-02-15
|
* Highlight strings in sh command substitutionsJune McEnroe2019-02-15
|
* Match newlines in sh stringsJune McEnroe2019-02-13
|
* Fix sh comment pattern to require blankJune McEnroe2019-02-12
|
* Use a proper fread-realloc loop in hiJune McEnroe2019-02-12
|
* Don't match Rust raw strings inside other stringsJune McEnroe2019-02-12
|
* Add Rust to hiJune McEnroe2019-02-12
| | | | This also fixes the block comment pattern to match /* **/ correctly.
* Call setlocale in hiJune McEnroe2019-02-12
|
* Add plain text "language" to hiJune McEnroe2019-02-10
|
* Don't match DQ string inside SQ stringJune McEnroe2019-02-10
|
* Skip only one character if a match fails due to parentJune McEnroe2019-02-10
| | | | | Really it should skip forward until the parent changes, but this is simpler.
* Remove pattend from hiJune McEnroe2019-02-10
|
* Replace uses of pattend with newline patternsJune McEnroe2019-02-10
|
* Add hi debug outputJune McEnroe2019-02-10
|
* Actually do HTML &quot; escapingJune McEnroe2019-02-10
|
* Add back missing static keywordJune McEnroe2019-02-10
| | | | Ooops.
* Add tab option to HTML output of hiJune McEnroe2019-02-09
|
* Add css and inline HTML options to hiJune McEnroe2019-02-09
|
* Combine all Keyword patternsJune McEnroe2019-02-09
|
* Fix IRC output monospace option to emit once per lineJune McEnroe2019-02-09
|
* Add output format options to hiJune McEnroe2019-02-09
| | | | | The monospace option for IRC output doesn't really work, since IRCCloud puts a box around each span this way.
* Avoid using SGRReset and IRCResetJune McEnroe2019-02-09
|
* Use X macros for hi classesJune McEnroe2019-02-08
|
* Add sh syntax to hiJune McEnroe2019-02-08
|
* Use [] to quote special characters in regexJune McEnroe2019-02-08
| | | | This looks much cleaner than having to double-escape backslash.
* Improve ANSI output and base IRC on itJune McEnroe2019-02-08
|
* Add hi -nJune McEnroe2019-02-08
|
* Use set for parent in hiJune McEnroe2019-02-08
|
* Switch back to semantic keyword grouping in hiJune McEnroe2019-02-08
|
* Match only the basename in hiJune McEnroe2019-02-08
|
* Add mdoc syntax to hiJune McEnroe2019-02-07
|
* Support multi-line C macros in hiJune McEnroe2019-02-07
|
* Detect .mk files as makeJune McEnroe2019-02-07
|
* Add make syntax to hiJune McEnroe2019-02-07
|
* Add IRC output to hiJune McEnroe2019-02-07
|
* Improve C syntax accuracy and add Format classJune McEnroe2019-02-07
|
* Factor out hi checkJune McEnroe2019-02-07
| | | | Fix subexpression bounds check and compile pattends.
* Add Escape class to hiJune McEnroe2019-02-07
|
* Add Todo class and parent syntax constraintJune McEnroe2019-02-07
|
* Set class="hi" on <pre>June McEnroe2019-02-07
|
* Check subexpressions with hi -cJune McEnroe2019-02-07
|
* Use subexpression highlight for system include pathsJune McEnroe2019-02-07
|
* Move comments below strings in hiJune McEnroe2019-02-07
| | | | Also add the #if 0 "comment" syntax.
* Add subexpression highlighting to hiJune McEnroe2019-02-07
|
* Add pattend to hiJune McEnroe2019-02-06
|