summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/_core/stringbuffer.lua
diff options
context:
space:
mode:
authorSean Dewar <6256228+seandewar@users.noreply.github.com>2025-12-20 16:30:28 +0000
committerSean Dewar <6256228+seandewar@users.noreply.github.com>2025-12-25 00:08:57 +0000
commit6d2330f50d07dd2d3c4c01ee37f918b5d320d998 (patch)
treec27d2303013efe22cbf007593a870c2d72181941 /runtime/lua/vim/_core/stringbuffer.lua
parentce7ed53fbae3ebc643bce5ad8aa94c20ebc19b25 (diff)
fix(autocmd): parsing of comma-separated buflocal patterns
Problem: patterns after a buffer-local pattern in a comma-separated aupat are ignored. Solution: ensure pat refers to the original buffer after each pattern, not the buflocal_pat buffer, and when printing make sure it's normalized for each pattern, not just the first. Also simplify the logic when printing all autocommands for an event, and ensure headings aren't repeated for each event when printing autocommands.
Diffstat (limited to 'runtime/lua/vim/_core/stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions