This file is indexed.

/usr/share/highlight/langDefs/tex.lang is in highlight-common 3.8-2.

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
30
31
32
33
34
35
36
37
-- FIXME omitted definition of $NESTED(PL)
-- Language definition generated by lang2to3

Description="TeX and LaTeX"

Keywords={
  { Id=1,
    Regex=[[\\\w+]],
  },
  { Id=2,
    List={"a4paper", "report", "ngerman", "dvips", "", "graphicx", "latin1", "inputenc", "", "T1", "fontenc", "color", "alltt", "document", "tabbing", "", "tocdepth"},
  },
  { Id=3,
    Regex=[[\#\d+]],
  },
}

IgnoreCase=false

Comments={
  { Block=false,
    Delimiter= { [[(?<!\\)%.*$]] },
  },
  { Block=true,
    Nested=false,
    Delimiter= { [[\(\*]],[[\*\)]],}
  }
}

NestedSections = {
  { Lang="perl", Delimiter= { [[\\perl(?:re)?newcommand\{\\\w+\}\[.*\]\{]], [[\{]] } },
  { Lang="perl", Delimiter= { [[\\perl(?:re)?newenvironment\{\w+\}\[.*\]\{]], [[\{]] } },
  { Lang="inc_luatex", Delimiter= { [[\\directlua0?.*?\{]], [[(?<!\{)\}]] } },
  { Lang="r", Delimiter= { [[\<\<.*\>\>\=]], [[@]] } },
}

Operators=[[ \{|\}|\[|\] ]]