summaryrefslogtreecommitdiff
path: root/keyword.c
AgeCommit message (Collapse)Author
2022-07-30keyword: Make sure `tm_isdst` is negative in `get_keyword_value()`mrb0nk500
This needs to be done in order to properly correct for DST.
2022-07-28everywhere: Fix compiler errors, compiler warnings, and correct typosmrb0nk500
2022-07-28keyword: Add `get_keyword_offset_ptr()`mrb0nk500
2022-07-28keyword: Make `keyword_cb`, and `set_keyword()` return an `int`mrb0nk500
`set_keyword()` now checks the return value of the callback to determine whether to return early, fallback to the default, or return an error if the callback returns true, false, and -1 respectivly.
2022-07-26keyword: Added `keyword` typemrb0nk500
This will allow for easy parsing of stuff like the PR `info`, PR `comments`, and config files.