This file is indexed.

/usr/share/vim/addons/syntax/cocci.vim is in coccinelle 1.0.4.deb-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
" Vim syntax file
" Language:     Cocci (SmPL)
" Author:       Alexander Færøy <ahf@0x90.dk>
" Copyright:    Copyright (c) 2009-2010 Alexander Færøy
" License:      You may redistribute this under the same terms as Vim itself.

if &compatible || v:version < 603 || exists("b:current_syntax")
    finish
endif

" Keywords
syn keyword CocciKeywords       identifier type parameter constant expression contained
syn keyword CocciKeywords       statement function local list fresh position idexpression contained

syn region CocciGroup matchgroup=CocciGroupDelim start="@[^@]*@" end="@@" contains=CocciKeywords

syn match CocciLineRemoved      "^-.*"
syn match CocciLineAdded        "^+.*"
syn match CocciComment          "//.*"

syn case ignore
syn match CocciOperator         "\.\.\."
syn match CocciOperator         "when"
syn case match

" Errors
syn match CocciError            "^[ \t][+-].*"

" Highlight!
hi def link CocciLineRemoved    Special
hi def link CocciLineAdded      Identifier
hi def link CocciError          Error
hi def link CocciKeywords       Keyword
hi def link CocciGroupDelim     PreProc
hi def link CocciComment        Comment
hi def link CocciOperator       Operator

let b:current_syntax = "cocci"

" vim: set et ts=4 :