aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/pythoncomplete.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-06-22 09:09:13 +0800
committerzeertzjq <zeertzjq@outlook.com>2026-06-22 09:51:52 +0800
commit19446ec9cb2b0e9a16330416d789f3007d502f3d (patch)
treed9aa166f4ed4d9f4abc28c6ed70af90c35aaa6dc /runtime/autoload/pythoncomplete.vim
parent5999f64c48d374712f5ee45ad8d88fa3ccc85415 (diff)
downloadrneovim-19446ec9cb2b0e9a16330416d789f3007d502f3d.tar.gz
rneovim-19446ec9cb2b0e9a16330416d789f3007d502f3d.tar.bz2
rneovim-19446ec9cb2b0e9a16330416d789f3007d502f3d.zip
vim-patch:77099ed: runtime(cpp): add C++26 lexical constructs to syntax highlighting
Add a guarded "C++ 26 extensions" block (cpp_no_cpp26) covering new lexical surface introduced since C++23: - [[ ... ]] attributes as a region, so P3394 annotations carrying a value expression (eg [[=foo{1}]]) no longer trip cErrInBracket on their braces/parens. A \w\@1<! look-behind keeps it from matching a subscripted immediately-invoked lambda (arr[[]{...}()]). - ^^ reflection operator (P2996). - [: :] splice brackets (P2996). - contract_assert keyword (P2900). Add input/cpp_cpp26.cpp exercising these constructs with screendumps, and update dumps/cpp_noreturn_00.dump for the new [[ ]] attribute delimiter highlighting. closes: vim/vim#20577 https://github.com/vim/vim/commit/77099ed6b3b35b6340fd4945ba219020034a9182 Co-authored-by: Gareth Lloyd <gareth@ignition-web.co.uk>
Diffstat (limited to 'runtime/autoload/pythoncomplete.vim')
0 files changed, 0 insertions, 0 deletions