This file is indexed.

/usr/share/geany-plugins/geanygendoc/filetypes/vala.conf is in geany-plugin-gendoc 1.32+dfsg-3.

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
38
settings = {
  # [[direction ]type ]arg[...](,|EOL)
  # 
  # Detailed expression:
  #function_args=(?:
  #                  matches () not to try to extract an argument for it
  #               ^\([ \t]*\)$
  #               |
  #                  type or modifier (e.g. "char *", "string?[42]" or "List<string>")
  #               (?:[a-zA-Z0-9_]+[ \t*?]*(?:(?:\\[|<)[a-zA-Z0-9_\[\]*?]*(?:\\]|>))?[ \t*?]+)*
  #                the argument name itself (only capture)
  #               ([a-zA-Z0-9_.]+)
  #                  prototype end (e.g. ")", end of (*arg))
  #               (?:[ \t]*\))?
  #               possible white-spaces
  #               [ \t]*
  #               permissive match for post-arg (any shit we didn't thought about)
  #               [^,]*
  #               , or EOL
  #               (?:,|$)
  #              )
  # note that \ are escaped, so to have a \ you need to put \\
  match_function_arguments = "(?:^\\([ \t]*\\)$|(?:[a-zA-Z0-9_]+[ \t*?]*(?:(?:\\[|<)[a-zA-Z0-9_\\[\\]*?]*(?:\\]|>))?[ \t*?]+)*([a-zA-Z0-9_.]+)[ \t]*[^,]*(?:,|$))";
  
  # global env
  global_environment = "write_since = 0;";
}

doctypes = {
  valadoc = {
    enumval.policy  = FORWARD;
    
    class.template  = "/**\n * {cursor}\n{if write_since} * \n * @since \n{end} */\n";
    field.template  = "/**\n * {cursor}\n{if write_since} * \n * @since \n{end} */\n";
    method.template = "/**\n * {cursor}\n * \n{for arg in argument_list} * @param {arg} {cursor}\n{end}{if returns} * @return {cursor}\n{end}{if write_since} * \n * @since {cursor}\n{end} */\n";
    enum.template   = "/**\n * {cursor}\n * \n{for enumval in enumval_list} * @param {enumval} {cursor}\n{end}{if write_since} * \n * @since {cursor}\n{end} */\n";
  }
}