Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shougo/dpp-ext-lazy
Lazy ext for dpp.vim
https://github.com/shougo/dpp-ext-lazy
dpp-exts dpp-vim
Last synced: 12 days ago
JSON representation
Lazy ext for dpp.vim
- Host: GitHub
- URL: https://github.com/shougo/dpp-ext-lazy
- Owner: Shougo
- License: mit
- Created: 2023-10-12T10:07:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-06T05:47:52.000Z (5 months ago)
- Last Synced: 2024-11-14T09:08:49.097Z (2 months ago)
- Topics: dpp-exts, dpp-vim
- Language: Vim Script
- Homepage:
- Size: 30.3 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dpp-ext-lazy
This ext implements lazy loading.
## Required
### denops.vim
https://github.com/vim-denops/denops.vim
### dpp.vim
https://github.com/Shougo/dpp.vim
## Configuration
```typescript
type LazyMakeStateResult = {
plugins: Plugin[];
stateLines: string[];
};const [context, options] = await args.contextBuilder.get(args.denops);
// Get plugins from other exts
const plugins = ...const lazyResult = await args.dpp.extAction(
args.denops,
context,
options,
"lazy",
"makeState",
{
plugins: Object.values(recordPlugins),
},
) as LazyMakeStateResult | undefined;
```