Skip to content

Commit c6fcecb

Browse files
committed
docs(keyword): add unreleased badge
1 parent d0103c1 commit c6fcecb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/src/modules/keyword.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: Lua keyword helpers for reserved-word checks.
33
---
44

5-
# `keyword`
5+
# `keyword` <Badge type="warning" text="Unreleased" />
66

77
Lua keyword helpers.
88

@@ -62,9 +62,9 @@ print(keywords[#keywords]) --> "while"
6262
Return Lua keywords as a [`mods.Set`] of strings.
6363

6464
```lua
65-
local words = kw.kwset()
66-
print(words["and"]) --> true
67-
print(words["hello"]) --> nil
65+
local keywords = kw.kwset()
66+
print(keywords["and"]) --> true
67+
print(keywords["hello"]) --> nil
6868
```
6969

7070
### `isidentifier(s)` {#fn-isidentifiers}

0 commit comments

Comments
 (0)