Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shougo/dpp-ext-toml
Toml ext for dpp.vim
https://github.com/shougo/dpp-ext-toml
dpp-exts dpp-vim
Last synced: 3 months ago
JSON representation
Toml ext for dpp.vim
- Host: GitHub
- URL: https://github.com/shougo/dpp-ext-toml
- Owner: Shougo
- License: mit
- Created: 2023-10-12T10:06:28.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-16T11:44:58.000Z (5 months ago)
- Last Synced: 2024-08-16T12:59:15.798Z (5 months ago)
- Topics: dpp-exts, dpp-vim
- Language: TypeScript
- Homepage:
- Size: 21.5 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dpp-ext-toml
This ext implements toml loading.
## Required
### denops.vim
https://github.com/vim-denops/denops.vim
### dpp.vim
https://github.com/Shougo/dpp.vim
## Configuration
```typescript
type Toml = {
ftplugins?: Record;
hooks_file?: string;
multiple_plugins?: Plugin[] & {
plugins: string[];
};
plugins?: Plugin[];
};const [context, options] = await args.contextBuilder.get(args.denops);
const tomlPlugins = await args.dpp.extAction(
args.denops,
context,
options,
"toml",
"load",
{
path: "$BASE_DIR/dpplazy.toml",
options: {
lazy: true,
},
},
) as Toml | undefined;
```