From: Ferry Huberts Date: Tue, 9 Oct 2012 11:10:48 +0000 (+0200) Subject: syntax-highlight: when the file has no extension, assume text X-Git-Url: https://gitweb.ps.run/ps-cgit/commitdiff_plain/d14faf4424ae06ced696c15f205c85fe55b8e6e7?hp=d14faf4424ae06ced696c15f205c85fe55b8e6e7 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 ---