This file is indexed.

/usr/share/vim/addons/indent/supercollider.vim is in supercollider-vim 1:3.8.0~repack-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
38
39
40
41
42
"this indent function isn't that smart yet, hopefully it'll improve in the future
if exists ("b:did_indent")
  finish
endif
let b:did_indent = 1

setlocal indentexpr=GetSCIndent()
setlocal indentkeys+=0),0],0}

if exists ("*GetSCIndent")
  finish
endif

function GetSCIndent()

  let curr_line = getline(v:lnum)
  let lnum = prevnonblank(v:lnum - 1)

  if lnum == 0
        return 0
    endif

  let prev_line = getline(lnum)

  let ind = indent(lnum)

  if prev_line =~ '\(\/\/.*\)\@\<![[({]\s*\([^])}]*\)\=$'
    let ind = ind + &sw
  endif

  if curr_line =~ '\v^\s*[)}\]]'
    "if synIDattr(synID(line("."), col("."), 0), "name") =~? "scComment" ||
    " synIDattr(synID(line("."), col("."), 0), "name") =~? "scString" ||
    " synIDattr(synID(line("."), col("."), 0), "name") =~? "scSymbol"
    " "do nothing
    "else
      let ind = ind - &sw
    "end
  endif

  return ind
endfunction