https://github.com/uga-rosa/ddc-source-nvim-lua
Neovim Lua source for ddc.vim.
https://github.com/uga-rosa/ddc-source-nvim-lua
ddc-source ddc-vim
Last synced: about 1 year ago
JSON representation
Neovim Lua source for ddc.vim.
- Host: GitHub
- URL: https://github.com/uga-rosa/ddc-source-nvim-lua
- Owner: uga-rosa
- License: mit
- Created: 2023-07-02T13:54:54.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T16:49:37.000Z (over 2 years ago)
- Last Synced: 2025-02-21T00:12:37.465Z (over 1 year ago)
- Topics: ddc-source, ddc-vim
- Language: TypeScript
- Homepage:
- Size: 21.5 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ddc-source-nvim-lua
Neovim Lua source for ddc.vim.
## Features
- The type is in |ddc-item-attribute-kind|.
```lua
-- `|` means cursor.
vim.|
-- ┌─────────────────────────┐
-- │api table [Lua] │
-- │print function [Lua] │
-- │... │
-- └─────────────────────────┘
```
- Escaping is performed if necessary on |ddc-source-attribute-onCompleteDone|.
Please confirm explicitly with |pum#map#confirm()|, etc.
```lua
vim.fn.ddc#enable
-- After confirming
vim.fn["ddc#enable"]
```