Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Shougo/deoppet.nvim
The dark powered snippet plugin for neovim
https://github.com/Shougo/deoppet.nvim
ddc-source ddc-vim nvim snippets
Last synced: 4 days ago
JSON representation
The dark powered snippet plugin for neovim
- Host: GitHub
- URL: https://github.com/Shougo/deoppet.nvim
- Owner: Shougo
- License: other
- Created: 2017-01-04T01:19:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-07-20T07:50:35.000Z (4 months ago)
- Last Synced: 2024-10-12T18:27:48.133Z (22 days ago)
- Topics: ddc-source, ddc-vim, nvim, snippets
- Language: Python
- Homepage:
- Size: 133 KB
- Stars: 256
- Watchers: 26
- Forks: 5
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# deoppet.nvim
**Note**: Active developement on denippet.nvim has stopped. The only future
changes will be bug fixes.Please see [Denippet.vim](https://github.com/uga-rosa/denippet.vim)
Please read [help](doc/deoppet.txt) for details.
Deoppet is the abbreviation of "dark powered neo-snippet". It provides the
snippet expansion.## Installation
**Note:** deoppet requires Neovim(0.5.0+) with Python3. See
[requirements](#requirements) if you aren't sure whether you have this.1. Extract the files and put them in your Neovim directory (usually
`$XDG_CONFIG_HOME/nvim/`).
2. Execute the `:UpdateRemotePlugins` and restart Neovim.Note: deoppet does not work in Vim8 environment.
For vim-plug
```viml
Plug 'Shougo/deoppet.nvim', { 'do': ':UpdateRemotePlugins' }
```For dein.vim
```viml
call dein#add('Shougo/deoppet.nvim')
```## Requirements
deoppet requires Neovim with if\_python3. If `:echo has("python3")` returns `1`,
then you're done; otherwise, see below.You can enable Python3 interface with pip:
pip3 install --user pynvim
If you want to read the pynvim/python3 interface install documentation, you
should read `:help provider-python` and the Wiki.## Note: Python3 must be enabled before updating remote plugins
If Deoppet was installed prior to Python support being added to Neovim,
`:UpdateRemotePlugins` should be executed manually.## Screenshots
## Configuration Examples
```vim
call deoppet#initialize()
call deoppet#custom#option('snippets',
\ map(globpath(&runtimepath, 'neosnippets', 1, 1),
\ { _, val -> { 'path': val } }))imap (deoppet_expand)
imap (deoppet_jump_forward)
imap (deoppet_jump_backward)
smap (deoppet_jump_forward)
smap (deoppet_jump_backward)" Use deoppet source.
call ddc#custom#patch_global('sources', ['deoppet'])" Change source options
call ddc#custom#patch_global('sourceOptions', {
\ 'deoppet': {'dup': v:true, 'mark': 'dp'},
\ })
```