localcfg/plugins/regex.vimΒΆ

Enforce vim script implementation to reduce ambiguities and improve robustness:

scriptversion 4

Only complete on installed languages:

if has('cmdline_compl')
    command! -nargs=?
    \   -complete=customlist,plugins#regex#lang_complete
    \   Regex call regex#regex#OpenTestWindow(<q-args>)
endif

See also