mirror of
https://github.com/msanders/cocoa.vim.git
synced 2025-12-21 12:19:37 +01:00
This allows the plugin to live in a directory other than ~/.vim. This useful when used with something like pathogen, where the plugin lives in ~/.vim/bundle/cocoa or similar subpath.
5 lines
188 B
Bash
Executable File
5 lines
188 B
Bash
Executable File
dir=`dirname $0`
|
|
classes=`grep -m 1 ^$1 ${dir}/cocoa_indexes/classes.txt`
|
|
if [ -z "$classes" ]; then exit; fi
|
|
zgrep "^\($classes\)" ${dir}/cocoa_indexes/methods.txt.gz | sed 's/^[^ ]* //'
|