diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-09-07 07:57:50 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-09-07 08:05:11 +0800 |
| commit | 1e92632c1f18470e783ecab3237146f6f7e84745 (patch) | |
| tree | 60f4a2d1dbac122c5c41b501e6463decd314abf8 /runtime/lua/vim/async/_queue.lua | |
| parent | 797171f45f959035cb94d0a83e9445da270c8b10 (diff) | |
| download | rneovim-1e92632c1f18470e783ecab3237146f6f7e84745.tar.gz rneovim-1e92632c1f18470e783ecab3237146f6f7e84745.tar.bz2 rneovim-1e92632c1f18470e783ecab3237146f6f7e84745.zip | |
vim-patch:22b72dc: runtime(spup): fix E92 in syntax script
Problem: Spup syntax fails for an out-of-range comment mode.
Solution: Add the missing let to the fallback assignment (Qiming zhao).
Setting oneline_comments above 3 raises E492 while loading the syntax
script. Use a valid legacy Vim script assignment to restore the default
value of 2.
Validated with oneline_comments set to 1, 2, 3, 4 and 99, and with the
variable unset. The original script fails with E492 for a value of 4.
The corrected script loads and applies the expected comment mode.
closes: vim/vim#21227
Supported by AI.
https://github.com/vim/vim/commit/22b72dca7e6240d3b54ed85084904dc61503da7c
Co-authored-by: Qiming zhao <chemzqm@gmail.com>
Diffstat (limited to 'runtime/lua/vim/async/_queue.lua')
0 files changed, 0 insertions, 0 deletions