new option: g:startify_custom_indices

People can now choose to create their own index mapping instead of
having the default behaviour of increasing numbers.

Closes #17.
This commit is contained in:
Marco Hinz 2013-04-30 13:32:30 +02:00
parent 7ab3ca8565
commit 4711a54cf5
3 changed files with 49 additions and 8 deletions

View file

@ -11,7 +11,7 @@ let s:sep = startify#get_sep()
syntax match StartifySpecial /\V<empty buffer>\|<quit>/
syntax match StartifyBracket /\[\|\]/
syntax match StartifyNumber /\v\[[eq[:digit:]]+\]/hs=s+1,he=e-1 contains=StartifyBracket
syntax match StartifyNumber /\v\[.+\]/hs=s+1,he=e-1 contains=StartifyBracket
syntax match StartifyFile /.*/ contains=StartifyBracket,StartifyNumber,StartifyPath,StartifySpecial
execute 'syntax match StartifySlash /\'. s:sep .'/'