Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,8 @@ require("dial.config").augends:register_group{
|`augend.date.alias["%H:%M"]` |Time in the format `%H:%M` |`14:30`, ... |
|`augend.constant.alias.de_weekday` |German weekday |`Mo`, `Di`, ..., `Sa`, `So` |
|`augend.constant.alias.de_weekday_full` |German full weekday |`Montag`, `Dienstag`, ..., `Sonntag`|
|`augend.constant.alias.en_weekday` |English weekday |`Mon`, `Tue`, ..., `Sat`, `Sun` |
|`augend.constant.alias.en_weekday_full` |English full weekday |`Monday`, `Tuesday`, ..., `Sunday` |
|`augend.constant.alias.ja_weekday` |Japanese weekday |`月`, `火`, ..., `土`, `日` |
|`augend.constant.alias.ja_weekday_full` |Japanese full weekday |`月曜日`, `火曜日`, ..., `日曜日` |
|`augend.constant.alias.bool` |elements in boolean algebra (`true` and `false`) |`true`, `false` |
Expand Down
28 changes: 28 additions & 0 deletions doc/dial.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,34 @@ Unlike |augend.constant.alias.ja_weekday|, this simply matches a string (not a
|word|), so even if you have a series of kanji characters, such as `毎週火曜日
`, it will match.

augend.constant.alias.en_weekday~

Matches English day names:
>
Mon
Tue
Wed
Thu
Fri
Sat
Sun
<
Each of these matches a |word| in the Vim sense.

augend.constant.alias.en_weekday_full~

Matches English day names:
>
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday
<
Each of these matches a |word| in the Vim sense.

augend.constant.alias.de_weekday~

Matches German day names:
Expand Down
5 changes: 5 additions & 0 deletions lua/dial/augend/constant.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ M.alias = {
word = true,
cyclic = true,
},
en_weekday = M.new {
elements = { "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" },
word = true,
cyclic = true,
},
en_weekday_full = M.new {
elements = {
"Monday",
Expand Down