Files
2025-12-31 16:04:33 +08:00
..
2025-05-26 17:27:18 +08:00
2025-05-28 23:06:18 +08:00

types.yazi

Type definitions for Yazi's Lua API, empowering an efficient plugin development experience.

Installation

ya pkg add yazi-rs/plugins:types

Usage

Create a .luarc.json file in your project root:

{
  "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
  "runtime.version": "Lua 5.4",
  "workspace.library": [
    // You may need to change the path to your local plugin directory
    "~/.config/yazi/plugins/types.yazi/",
  ],
}

See https://luals.github.io/wiki/configuration/ for more information on how to configure LuaLS.

Contributing

All type definitions are automatically generated using typegen.js based on the latest plugin documentation, so contributions should be made in the yazi-rs.github.io repository.

License

This plugin is MIT-licensed. For more information, check the LICENSE file.