feat: input validators

This commit is contained in:
2026-04-05 01:20:52 +03:00
parent ea5bbd8e9f
commit 7abc4b046d
11 changed files with 660 additions and 3 deletions

View File

@@ -74,6 +74,9 @@ M.Form = Form
--- Expose the config module.
M.config = config
--- Expose the built-in validator library. See |input-form.validators|.
M.validators = require("input-form.validators")
-- Run once on first require so users/plugin devs don't have to call `setup()`
-- just to get working help tags.
register_helptags()