diff options
| author | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-02-16 09:11:07 +0000 |
|---|---|---|
| committer | Sean Dewar <6256228+seandewar@users.noreply.github.com> | 2026-04-08 21:48:38 +0100 |
| commit | 446e794a9c8823040b8d41fc86a1bc3bb99508e7 (patch) | |
| tree | d4dc44e088a1b36aa381f9fbcc35904ce0b415b7 /scripts/lintcommit.lua | |
| parent | 665ebce56924fbbdc4a13327a360a46791ae4c54 (diff) | |
| download | rneovim-446e794a9c8823040b8d41fc86a1bc3bb99508e7.tar.gz rneovim-446e794a9c8823040b8d41fc86a1bc3bb99508e7.tar.bz2 rneovim-446e794a9c8823040b8d41fc86a1bc3bb99508e7.zip | |
fix(api)!: empty non-nil autocmd "pattern" handling
Problem: in autocmd APIs, a non-nil "pattern" containing only empty
'sub'-patterns is silently treated as nil, causing the fallback value to be
unexpectedly used instead.
Solution: for nvim_create_autocmd(), raise a validation error (as no autocmds
would be created). For nvim_{exec,clear}_autocmds(), make it a no-op (as
matching no autocmds is not an error).
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions