mirror of
https://github.com/amix/vimrc
synced 2025-07-11 21:55:01 +08:00
add cocoa.vim & swift.vim
This commit is contained in:
4
sources_non_forked/cocoa.vim/lib/get_methods.sh
Executable file
4
sources_non_forked/cocoa.vim/lib/get_methods.sh
Executable file
@ -0,0 +1,4 @@
|
||||
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/^[^ ]* //'
|
Reference in New Issue
Block a user