/usr/share/source-highlight/texinfo.lang is in libsource-highlight-common 3.1.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # Language definition file for Texinfo
# author: Lorenzo Bettini
normal = "@@","@{","@}"
comment start "@c"
preproc = "@include"
environment keyword = '@([^[:blank:]]*)ref' begin
cbracket = '\{'
cbracket = '\}' exit
string = '[^}]+'
end
preproc = "@menu","@end menu"
# menu items
string = '\*.+::'
(keyword,cbracket,bold,cbracket) = `(@b)(\{)([^}]+)(\})`
(keyword,cbracket,italics,cbracket) = `(@(?:emph|i))(\{)([^}]+)(\})`
(keyword,cbracket,url,cbracket) = `(@(?:uref|url))(\{)([^[:blank:]]+)(\})`
(keyword,cbracket,variable,cbracket) = `(@value)(\{)([^[:blank:]]+)(\})`
keyword = '@end [^[:blank:]]+'
keyword = '@[^[:blank:]{}]+'
argument delim "{" "}" escape "@" multiline nested
|