/wezterm-types

Wezterm (config) types for Lua Language Server

Primary LanguageLuaMIT LicenseMIT

wezterm-types

Wezterm (config) types for Lua Language Server

Installation

For Neovim users, if you are using Lazy as a package manager, install this together with lazydev:

{
  'folke/lazydev.nvim',
  ft = 'lua',
  dependencies = {
    {'gonstoll/wezterm-types', lazy = true},
  },
  opts = {
    library = {
      {path = 'wezterm-types', mods = {'wezterm'}},
    },
  },
}

Then on your Wezterm configuration file, cast a type to the required module:

local wezterm = require('wezterm') --[[@as Wezterm]]