Skip to content

Commit 0875d22

Browse files
committed
fix(sigil): address review comments
1 parent 96d7825 commit 0875d22

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

doc/wezterm-types-plugin.sigil.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ You can import type annotations for `sravioli/sigil.wz`
66
<https://github.com/sravioli/sigil.wz> as shown below:
77

88
>lua
9-
---@type Sigil.Api
9+
---@type Sigil
1010
local sigil = wezterm.plugin.require("https://github.com/sravioli/sigil.wz")
1111
<
1212

docs/sigil.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ You can import type annotations for
44
[`sravioli/sigil.wz`](https://github.com/sravioli/sigil.wz) as shown below:
55

66
```lua
7-
---@type Sigil.Api
7+
---@type Sigil
88
local sigil = wezterm.plugin.require("https://github.com/sravioli/sigil.wz")
99
```
1010

lua/wezterm/types/plugins/sigil.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---@meta
22
---@diagnostic disable:unused-local
33

4-
---@alias Sigil.Padding false|"left"|"right"|"both"|boolean
4+
---@alias Sigil.Padding boolean|"left"|"right"|"both"
55
---@alias Sigil.FormatItem string|table
66

77
---@class Sigil.Entry
@@ -34,7 +34,7 @@
3434
---@field padding? Sigil.Padding Padding to apply around the icon.
3535
---@field reset? boolean Append `ResetAttributes` after the icon.
3636

37-
---@class Sigil.Api
37+
---@class Sigil
3838
---@field config Sigil.Config
3939
local M = {}
4040

0 commit comments

Comments
 (0)