aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/cpp.vim
Commit message (Collapse)AuthorAge
* vim-patch:6fd4f6c: runtime(cpp): Update syntax, cleanupzeertzjq2026-09-22
| | | | | | | | | | | | - Prefer non-capturing groups in patterns - idiomatic. - Remove changelog entries - there is no maintainer to inform. - Normalise whitespace use. closes: vim/vim#21348 https://github.com/vim/vim/commit/6fd4f6cda1602fc0fedcdf4af64f528a3cad9273 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* vim-patch:2daae15: runtime(c,cpp): Update syntax, fix number patternszeertzjq2026-09-17
| | | | | | | | | | | Fix potentially catastrophic backtracking in number patterns when using regexpengine=1. closes: vim/vim#21324 https://github.com/vim/vim/commit/2daae1553b1e7b959afe0602fd243771266a5401 Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* vim-patch:8e2e8e7: runtime(cpp): add C++23 suffix z (size_t)zeertzjq2026-09-15
| | | | | | | | closes: vim/vim#21281 https://github.com/vim/vim/commit/8e2e8e749021d0ac406cae67712bbcc0c0fd5152 Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
* vim-patch:77099ed: runtime(cpp): add C++26 lexical constructs to syntax ↵zeertzjq2026-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* vim-patch:fd30a73: runtime(cpp): recognize C++23 stdfloat typeszeertzjq2026-06-02
| | | | | | | | | | | | Add float16_t, float32_t, float64_t, float128_t and bfloat16_t from <stdfloat> as cppType under a new cpp_no_cpp23 guard. fixes: vim/vim#16498 closes: vim/vim#20367 https://github.com/vim/vim/commit/fd30a736cc4acbefe3a1b05e6051f8df13aa6b2b Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
* vim-patch:335aecd: runtime(cpp): Fix c++ float and integer literal syntax ↵zeertzjq2026-01-09
| | | | | | | | | | | highlighting closes: vim/vim#8939 https://github.com/vim/vim/commit/335aecd98f75a081ad34b99e34922f3e7e0b25ea Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com> Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com>
* vim-patch:6c30628: runtime(cpp): Announce syntax file adoption (#37279)zeertzjq2026-01-06
| | | | | https://github.com/vim/vim/commit/6c306283920f8afb81926c498ce1aec78c623d83 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:c5def6561d56Christian Clason2024-05-07
| | | | | | | | | | | | runtime(cpp): Fix digit separator in syntax script for octals and floats Also fix the incorrect rendering of floats that start with ".". closes: vim/vim#14724 https://github.com/vim/vim/commit/c5def6561d5612487ac3523787da1c26335b17e1 Co-authored-by: Wu Yongwei <wuyongwei@gmail.com>
* vim-patch:ff0baca86523 (#26476)zeertzjq2023-12-09
| | | | | | | | | | | | | | | | | | | | runtime(syntax): unlet b:filetype_in_cpp_family for cpp & squirrel Update runtime/syntax/cpp.vim and runtime/syntax/squirrel.vim to unlet b:filetype_in_cpp_family as it remains set even after updating the ft of a file manually or through a modeline, not allowing c specific keywords to be highlighted. Since the variable b:filetype_in_cpp_family is only used by the c.vim syntax script, unlet it directly after sourcing the c.vim runtime file instead of at the end of the script. Also update the last Change Header for both files. closes: vim/vim#13650 https://github.com/vim/vim/commit/ff0baca86523f1e8c6ea593ec0ef2f9860f001d0 Co-authored-by: laburnumT <laburnumtec@gmail.com>
* vim-patch:89a9c159f23f #15641Christian Clason2021-09-13
| | | | | | | | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/89a9c159f23fb7b3e24e6d09068adfc24a73afcb Omit: nsis/lang/turkish.nsi pixmaps/gen-inline-pixbufs.sh doc/popup.txt doc/terminal.txt tutor/tutor* src/[g]vimtutor CONTRIBUTING.md Skip: doc/eval.txt (needs 8.1.2342) doc/testing.txt (needs 8.2.0299)
* vim-patch:d2ea7cf10a4d #15571Christian Clason2021-09-08
| | | | | | | | | | | Update runtime files https://github.com/vim/vim/commit/d2ea7cf10a4d026ebd402594d656af7d5c811c24 omit `runtime/doc/if_tcl.txt` omit `runtime/doc/textprop.txt` omit `runtime/tutor/*` omit `runtime/syntax/vim.vim` (cherry-picked in https://github.com/neovim/neovim/commit/2dd7828511d04a8b7f1ac4331c719a751a5db869) manual merge of `runtime/pack/dist/opt/termdebug/plugin/termdebug.vim`
* vim-patch:98a29d00a48eJan Edmund Lazo2021-05-01
| | | | | Update runtime files. https://github.com/vim/vim/commit/98a29d00a48e15a50e2850e1a29b7d475c531b0c
* vim-patch:95a9dd1efc5aJan Edmund Lazo2021-04-27
| | | | | Update runtime files. https://github.com/vim/vim/commit/95a9dd1efc5ae3221865f4970053a5708557e682
* vim-patch:6aa8cea46d41Justin M. Keyes2017-11-07
| | | | | | Update runtime files. https://github.com/vim/vim/commit/6aa8cea46d4179b2617daae034063dd0d8054e35
* vim-patch:b4ada79aa7d0Justin M. Keyes2017-04-29
| | | | | | | | Runtime file updates. https://github.com/vim/vim/commit/b4ada79aa7d0d1e5da3a659b1a203d7cae9f7f59 Closes #5055
* vim-patch:f37506f60f87Justin M. Keyes2017-04-28
| | | | | | Updated runtime files. Remove HiLink commands. https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
* vim-patch:89bcfda6834aJustin M. Keyes2017-04-28
| | | | | | Updated runtime files. Remove version checks for Vim older than 6.0. https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
* vim-patch:063b9d1James McCoy2017-02-01
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/063b9d15abea041a5bfff3ffc4e219e26fd1d4fa
* vim-patch:b4ff518KillTheMule2016-05-03
| | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/b4ff518d95aa57c2f8c0568c915035bef849581b Missing files: runtime/doc/tags, runtime/doc/todo.txt. Changes to runtime/doc/if_pyth.txt, runtime/doc/options.txt and runtime/doc/quickref.txt did not aply. Excluded runtime/syntax/vim.vim.
* vim-patch:f2571cDavid Barnett2016-04-11
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/f2571c61d5aa05682ae4d358e625348b61adc861
* vim-patch:7.4.656Justin Gassner2016-01-25
| | | | | | | Problem: Missing changes for glob() in one file. Solution: Add the missing changes. https://github.com/vim/vim/commit/d8b77f7dc04e5721989df9c505b8568194261a39
* vim-patch:f2571c6Marco Hinz2015-11-08
| | | | | | Update runtime files. References #3625.
* re-integrate runtime/ vim-patch:0 #938Justin M. Keyes2014-07-29
Vim runtime files based on 7.4.384 / hg changeset 7090d7f160f7 Excluding: Amiga icons (*.info, icons/) doc/hangulin.txt tutor/ spell/ lang/ (only used for menu translations) macros/maze/, macros/hanoi/, macros/life/, macros/urm/ These were used to test vi compatibility. termcap "Demonstration of a termcap file (for the Amiga and Archimedes)" Helped-by: Rich Wareham <rjw57@cam.ac.uk> Helped-by: John <john.schmidt.h@gmail.com> Helped-by: Yann <yann@yann-salaun.com> Helped-by: Christophe Badoit <c.badoit@lesiteimmo.com> Helped-by: drasill <github@tof2k.com> Helped-by: Tae Sandoval Murgan <taecilla@gmail.com> Helped-by: Lowe Thiderman <lowe.thiderman@gmail.com>