summary refs log tree commit diff
path: root/bin/hi.c (follow)
Commit message (Collapse)AuthorAge
* Add hi rule for sh arithmetic expansionJune McEnroe2020-05-14
| | | | | Shell highlighting is hopeless anyway but this makes it slightly less obviously broken.
* Teach hi how to underline in IRCJune McEnroe2020-03-30
|
* Highlight diff lines without lading space as KeywordJune McEnroe2020-03-30
|
* Use C syntax for Objective-C .m filesJune McEnroe2020-01-20
| | | | And match #import like #include.
* Highlight single-char variables nested in make interpolationsJune McEnroe2020-01-14
| | | | e.g. ${LDLIBS_$@}
* Fix matching make tags with no sourcesJune McEnroe2019-12-19
|
* Avoid matching := assignments as tagsJune McEnroe2019-12-19
|
* Use :target rather than :focus pseudo-classJune McEnroe2019-12-18
| | | | :target persists after you click on something else.
* Bail from hi if input is binaryJune McEnroe2019-12-18
| | | | | NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc.
* Add option to default to text in hiJune McEnroe2019-12-15
|
* Match .profile and .shrc as shell in hiJune McEnroe2019-12-15
|
* Don't match comments in strings in makeJune McEnroe2019-07-25
|
* Add diff syntax to hiJune McEnroe2019-07-01
|
* Highlight yacc and lex files as CJune McEnroe2019-05-10
| | | | Their %-prefixed directives should probably be highlighted Macro.
* Use val instead of suboptargJune McEnroe2019-05-10
| | | | | suboptarg doesn't exist in GNU. Hopefully BSD getsubopt also sets val on failure?
* Highlight line continuations in line commentsJune McEnroe2019-03-14
|
* Use getsubopt(3) to parse -o options in hiJune McEnroe2019-02-27
|
* Add type and ulimit shell keywordsJune McEnroe2019-02-27
|
* Fix make target pattern whitespace in hiJune McEnroe2019-02-27
|
* Match make targets as TagJune McEnroe2019-02-20
|
* Don't match nested parentheses in Tag for CJune McEnroe2019-02-18
| | | | | | Fixes mistaken highlight of: pngWrite(file, (uint8_t []) { 0, 0, 0 }, 3);
* Match whitespace between * [] {}June McEnroe2019-02-18
|
* Fix function-like #define regexJune McEnroe2019-02-18
| | | | A define like #define FOO (1) is not function-like.
* Match Tag in RustJune McEnroe2019-02-18
|
* Match sh functions as TagJune McEnroe2019-02-18
|
* Match Sh and Ss as Tag in mdocJune McEnroe2019-02-18
|
* Match statics and typedefs as TagJune McEnroe2019-02-18
|
* Clean up htmlHeaderJune McEnroe2019-02-18
|
* 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
|