Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uga-rosa/cmp-denippet
nvim-cmp source for denippet.vim
https://github.com/uga-rosa/cmp-denippet
Last synced: about 2 months ago
JSON representation
nvim-cmp source for denippet.vim
- Host: GitHub
- URL: https://github.com/uga-rosa/cmp-denippet
- Owner: uga-rosa
- License: mit
- Created: 2023-12-08T02:23:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-23T16:25:34.000Z (6 months ago)
- Last Synced: 2024-06-23T17:38:25.092Z (6 months ago)
- Language: Lua
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cmp-denippet
nvim-cmp source for [denippet.vim](https://github.com/uga-rosa/denippet.vim)
# Setup
```lua
require("cmp")({
snippet = {
expand = function(args)
vim.fn["denippet#anonymous"](args.body)
end,
},
sources = {
{ name = "denippet" },
},
})
```