Join GitHub today
SwiftNeoVim is a Cocoa framework which wraps NeoVim with its
runtime-files. It provides
NeoVimView which you can use as any other
NSView subclass. It's used in its parent project VimR.
How To Use
Look at the
MacNeovim target: it's a very simple app which using the
NeoVimView. Basically you have to do the following:
- Build the
SwiftNeoVimframework target in the VimR project.
- Embed the resulting
SwiftNeoVim.frameworkin your project as any other 3rd party frameworks you use.
- Create an instance of
NeoVimViewwhere you want to have NeoVim.
- Optionally, but most probably you want to do this, implement the