aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/api/private/validate.c
Commit message (Collapse)AuthorAge
* refactor(api): consistent VALIDATE messages #22262Justin M. Keyes2023-02-14
| | | | | | | | | | Problem: Validation messages are not consistently formatted. - Parameter names sometimes are NOT quoted. - Descriptive names (non-parameters) sometimes ARE quoted. Solution: Always quote the `name` value passed to a VALIDATE macro _unless_ the value has whitespace.
* refactor(api): VALIDATE macros #22256Justin M. Keyes2023-02-14
- VALIDATE() takes a format string - deduplicate check_string_array - VALIDATE_RANGE - validate UI args