mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
523982bd0f
Supports automatic loading of plugins. Plugins can: add "GUI panels" (which appear in a drawer for now), add global menu items, execute arbitrary Vim script inside its associated Vim instance. Also add routines to evaluate expressions in Vim and automatically convert returned value to a Cocoa object.
32 lines
693 B
Objective-C
32 lines
693 B
Objective-C
/* vi:set ts=8 sts=4 sw=4 ft=objc:
|
|
*
|
|
* VIM - Vi IMproved by Bram Moolenaar
|
|
* MacVim GUI port by Bjorn Winckler
|
|
*
|
|
* Do ":help uganda" in Vim to read copying and usage conditions.
|
|
* Do ":help credits" in Vim to see a list of people who contributed.
|
|
* See README.txt for an overview of the Vim source code.
|
|
*/
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
#import "MMVimController.h"
|
|
|
|
|
|
@interface MMPlugInManager : NSObject {
|
|
|
|
NSMutableArray *plugInClasses;
|
|
}
|
|
|
|
- (NSArray *)plugInClasses;
|
|
|
|
// Find and load any plugins
|
|
- (void)loadAllPlugIns;
|
|
|
|
// release instances of loaded plugins
|
|
- (void)unloadAllPlugIns;
|
|
|
|
// Return singleton instance of MMPluginManager
|
|
+ (MMPlugInManager *)sharedManager;
|
|
|
|
@end
|