This file is indexed.

/usr/share/highlight/langDefs/erlang.lang is in highlight-common 3.9-1build1.

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
-- Language definition generated by lang2to3

Description="Erlang"

Keywords={
  { Id=1,
    List={"after", "begin", "case", "catch", "cond", "end", "fun", "if", "let", "of", "query", "receive", "when"},
  },
  { Id=2,
    List={"abs", "alive", "apply", "atom_to_list", "binary_to_list", "binary_to_term", "concat_binary", "date", "disconnect_node", "element", "erase", "exit", "float", "float_to_list", "get", "get_keys", "group_leader", "halt", "hd", "integer_to_list", "is_alive", "length", "link", "list_to_atom", "list_to_binary", "list_to_float", "list_to_integer", "list_to_pid", "list_to_tuple", "load_module", "make_ref", "monitor_node", "node", "nodes", "now", "open_port", "pid_to_list", "process_flag", "process_info", "process", "put", "register", "registered", "round", "self", "setelement", "size", "spawn", "spawn_link", "split_binary", "statistics", "term_to_binary", "throw", "time", "tl", "trunc", "tuple_to_list", "unlink", "unregister", "whereis", "atom", "binary", "constant", "function", "integer", "list", "number", "pid", "ports", "port_close", "port_info", "reference", "record", "check_process_code", "delete_module", "get_cookie", "hash", "math", "module_loaded", "preloaded", "processes", "purge_module", "set_cookie", "set_node", "acos", "asin", "atan", "atan2", "cos", "cosh", "exp", "log", "log10", "pi", "pow", "power", "sin", "sinh", "sqrt", "tan", "tanh"},
  },
  { Id=3,
    Regex=[[(\w+):]],
  },
  { Id=4,
    Regex=[[(\w+)\s*\(]],
  },
}

Strings={
  Delimiter=[["|']],
}

IgnoreCase=false

Comments={
  { Block=false,
    Delimiter= { [[%]] },
  },
}

Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\<|\>|\!|\=|\/|\*|\+|\-|\.]]

--FIXME no default escchar param: regex(\\\d{3}|\\x\p{XDigit}{2}|\\[ntvbrfa\\\?'"])