Skip to content

Shougo/dpp-ext-toml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

type Toml = {
  ftplugins?: Record<string, string>;
  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;

Releases

No releases published

Packages

No packages published