/ctrlp_luamatcher

lua matcher function for vim ctrlp

Primary LanguageVim Script

Overview

Matcher function for ctrlp implemented in lua.

Other implementation:

Usage

let g:ctrlp_match_func = { 'match': 'ctrlp#luamatcher#Match' }

Implementation

The fuzzy match is implemented as pattern: abc -> a[^a]*b[^b]*c[^c]*

The results are then sorted by length.