Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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;
```