Skip to content

Allow to support Vim 8 in a python/python3 of a remote plugin in Neovim

License

Notifications You must be signed in to change notification settings

lambdalisue/vim-rplugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-rplugin

Travis CI AppVeyor Version 0.1.0 Support Vim 8.0 or above MIT License Doc

A library to support Vim 8 for plugin which is written with Python 3 remote plugin of Neovim. Inspired by Shougo/denite.nvim.

Note: This is an alpha version.

Install

Plug 'lambdalisue/vim-rplugin'

Usage

  1. Use rplugin.Neovim class to wrap vim module.
  2. Call rplugin#init({runtimepath}) to add {runtimepath}/rplugin/python3 to sys.path

Wrapping vim module with rplugin.Neovim will

  • Add vim.call(name, *args) interface
  • Add vim.funcs.{fname}(*args) interface
  • Returns str instead of bytes in Python 3

You can see a demo project at http://github.com/lambdalisue/vim-rplugin-test

Plugins which use vim-rplugin to support Vim 8

About

Allow to support Vim 8 in a python/python3 of a remote plugin in Neovim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages