https://github.com/lambdalisue/vim-rplugin
Allow to support Vim 8 in a python/python3 of a remote plugin in Neovim
https://github.com/lambdalisue/vim-rplugin
Last synced: about 2 months ago
JSON representation
Allow to support Vim 8 in a python/python3 of a remote plugin in Neovim
- Host: GitHub
- URL: https://github.com/lambdalisue/vim-rplugin
- Owner: lambdalisue
- License: mit
- Created: 2016-09-28T20:25:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-29T17:24:00.000Z (over 8 years ago)
- Last Synced: 2025-03-31T12:58:09.670Z (3 months ago)
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 9
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
vim-rplugin
===============================================================================
[](https://travis-ci.org/lambdalisue/vim-rplugin)
[](https://ci.appveyor.com/project/lambdalisue/vim-rplugin/branch/master)


[](LICENSE.md)
[](doc/rplugin.txt)A library to support Vim 8 for plugin which is written with Python 3 remote plugin of Neovim.
Inspired by [Shougo/denite.nvim](https://github.com/lambdalisue/denite.nvim).**Note: This is an alpha version.**
Install
-------------------------------------------------------------------------------
```vim
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 3You can see a demo project at http://github.com/lambdalisue/vim-rplugin-test
Plugins which use vim-rplugin to support Vim 8
-------------------------------------------------------------------------------- [lambdalisue/prompt.nvim](https://github.com/lambdalisue/prompt.nvim)
- [lambdalisue/lista.nvim](https://github.com/lambdalisue/lista.nvim)