summaryrefslogtreecommitdiff
path: root/mnv/ci/if_feat_check.mnv
blob: 152a208956ccd9f3143fd6e28f64ca8dc93d29a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if 1 " This prevents it from being run in tiny versions
  " Check for required features
  if exists("g:required")
    for feature in g:required
      if !has(feature)
        echo "Error: Feature '" .. feature .. "' not found"
        echo ''
        cquit
      endif
    endfor
    echo "\nChecked features: " .. string(g:required)
    echo ''
  endif
endif
" mnv: sts=2 sw=2 et