This file is indexed.

/usr/share/vim/addons/snippets/elixir.snippets is in vim-snippets 1.0.0-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
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
snippet do
	do
		${0}
	end
snippet if if .. do .. end
	if ${1} do
		${0}
	end

snippet if if .. do: ..
	if ${1:condition}, do: ${0}

snippet ife if .. do .. else .. end
	if ${1:condition} do
		${2}
	else
		${0}
	end

snippet ife if .. do: .. else:
	if ${1:condition}, do: ${2}, else: ${0}

snippet unless unless .. do .. end
	unless ${1} do
		${0}
	end

snippet unless unless .. do: ..
	unless ${1:condition}, do: ${0}

snippet unlesse unless .. do .. else .. end
	unless ${1:condition} do
		${2}
	else
		${0}
	end

snippet unlesse unless .. do: .. else:
	unless ${1:condition}, do: ${2}, else: ${0}

snippet cond
	cond do
	${1} ->
		${0}
	end

snippet case
	case ${1} do
	${2} ->
		${0}
	end

snippet df
	def ${1:name}, do: ${2}

snippet def
	def ${1:name} do
		${0}
	end

snippet defim
	defimpl ${1:protocol_name}, for: ${2:data_type} do
		${0}
	end

snippet defma
	defmacro ${1:name} do
		${0}
	end

snippet defmo
	defmodule ${1:module_name} do
		${0}
	end

snippet defp
	defp ${1:name} do
		${0}
	end

snippet defpr
	defprotocol ${1:name}, [${0:function}]

snippet defr
	defrecord ${1:record_name}, ${0:fields}

snippet doc
	@doc """
	${0}
	"""

snippet fn
	fn(${1:args}) -> ${0} end

snippet fun
	function do
		${0}
	end

snippet mdoc
	@moduledoc """
	${0}
	"""

snippet rec
	receive do
	${1} ->
		${0}
	end

snippet req
	require ${0:module_name}

snippet imp
	import ${0:module_name}

snippet ali
	alias ${0:module_name}

snippet test
	test "${1:test_name}" do
		${0}
	end

snippet try try .. rescue .. end
	try do
		${1}
	rescue
		${2} -> ${0}
	end