about summary refs log tree commit diff
path: root/ui-shared.c
diff options
context:
space:
mode:
authorFerry Huberts <ferry.huberts@pelagic.nl>2012-10-09 13:10:48 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-10-09 13:19:12 +0200
commitd14faf4424ae06ced696c15f205c85fe55b8e6e7 (patch)
tree882b444c1bde093b83f594f874366f90839f2c74 /ui-shared.c
parentui-repolist: do not use agefile if it's date could not be parsed (diff)
downloadcgit-pink-d14faf4424ae06ced696c15f205c85fe55b8e6e7.tar.gz
cgit-pink-d14faf4424ae06ced696c15f205c85fe55b8e6e7.zip
syntax-highlight: when the file has no extension, assume text
There are 2 situations:
1- empty extension: assuming text is better than highlight
   producing no output because of a missing argument.
2- no extension at all: assuming text is better than setting
   the extension to the filename, which is what now happens.

Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
d>June McEnroe 2019-07-13Add DL to shottyJune McEnroe 2019-07-12Color html rather than bodyJune McEnroe If background-color is only set on body then overscroll in Safari reveals white. 2019-07-12Make author consistent and update URLsJune McEnroe 2019-07-12Move to www/text.causal.agencyJune McEnroe 2019-07-12Add new causal.agency with shotty shotsJune McEnroe 2019-07-12Use -s to infer terminal sizeJune McEnroe 2019-07-12Add DCH to shottyJune McEnroe This makes htop mostly work. Scrolling region still missing. 2019-07-12Support insert mode in shottyJune McEnroe This is how curses puts characters into the bottom-right cell of the terminal. 2019-07-11Don't do carriage return on line feedJune McEnroe 2019-07-11Interpret 256color-style SGRsJune McEnroe 2019-07-11Use inline style rather than <b>, <i>, <u>June McEnroe 2019-07-11Factor out clearJune McEnroe 2019-07-11Add bright option to shottyJune McEnroe 2019-07-11Output <b>, <i>, <u> in shottyJune McEnroe 2019-07-10Ignore SM and RMJune McEnroe 2019-07-09Add shotty man page and build itJune McEnroe 2019-07-09Add up -cJune McEnroe 2019-07-09Add options for default colors to shottyJune McEnroe 2019-07-08Use char literals consistentlyJune McEnroe