Files
plugins/types.yazi
2025-05-26 17:27:18 +08:00
..
2025-05-26 17:27:18 +08:00
2025-05-26 17:27:18 +08:00
2025-05-26 17:27:18 +08:00

types.yazi

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

Installation

ya pack -a yazi-rs/plugins:types

Usage

Neovim

require("lspconfig").lua_ls.setup {
  settings = {
    Lua = {
      workspace = {
        library = {
          vim.fn.expand("$HOME/.config/yazi/plugins/types.yazi"),
        },
      },
    },
  },
}

Other editors

PRs are welcome!

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.