Lines Matching refs:name
8 func CheckFeature(name) argument
9 if !has(a:name, 1)
10 throw 'Checking for non-existent feature ' .. a:name
12 if !has(a:name)
13 MissingFeature a:name
19 func CheckNotFeature(name) argument
20 if !has(a:name, 1)
21 throw 'Checking for non-existent feature ' .. a:name
23 if has(a:name)
24 throw 'Skipped: ' .. a:name .. ' feature present'
30 func CheckOption(name) argument
31 if !exists('&' .. a:name)
32 throw 'Checking for non-existent option ' .. a:name
34 if !exists('+' .. a:name)
35 throw 'Skipped: ' .. a:name .. ' option not supported'
41 func CheckFunction(name) argument
42 if !exists('?' .. a:name)
43 throw 'Checking for non-existent function ' .. a:name
45 if !exists('*' .. a:name)
46 throw 'Skipped: ' .. a:name .. ' function missing'
52 func CheckCommand(name) argument
53 if !exists(':' .. a:name)
54 throw 'Skipped: ' .. a:name .. ' command not supported'
60 func CheckExecutable(name) argument
61 if !executable(a:name)
62 throw 'Skipped: ' .. a:name .. ' program not executable'
68 func CheckPython(name) argument
69 if a:name == ''
141 func CheckEnv(name) argument
142 if empty(eval('$' .. a:name))
143 throw 'Skipped: Environment variable ' .. a:name .. ' is not set'