diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-06-10 07:37:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-10 07:37:08 +0800 |
| commit | d4e6f92f5285b64e59f1aba4e93d93f70ab4e605 (patch) | |
| tree | 242638a0319622f466d986bec92df74001317f4c /runtime/ftplugin/javascriptreact.vim | |
| parent | 5a9a357bf00abcb0d98809f97f7122887b7a4a10 (diff) | |
| download | rneovim-d4e6f92f5285b64e59f1aba4e93d93f70ab4e605.tar.gz rneovim-d4e6f92f5285b64e59f1aba4e93d93f70ab4e605.tar.bz2 rneovim-d4e6f92f5285b64e59f1aba4e93d93f70ab4e605.zip | |
vim-patch:9.2.0610: cindent: closing brace in a comment affects the next line's indent (#40155)
Problem: A '}' inside a // line comment changes the indentation of the
following line inside an enum or struct (rendcrx).
Solution: Stop scanning the line once a line comment is reached, so a brace
inside the comment is no longer mistaken for an unmatched brace.
fixes: vim/vim#20455
closes: vim/vim#20458
https://github.com/vim/vim/commit/9dd86dff9b48928bfca1b37a60eaa98da77bfde3
Co-authored-by: Hirohito Higashi <h.east.727@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'runtime/ftplugin/javascriptreact.vim')
0 files changed, 0 insertions, 0 deletions