aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/c.vim
Commit message (Collapse)AuthorAge
* vim-patch:f1a677c: runtime(c): support 0O/0o octal prefix (C29)zeertzjq2026-09-22
| | | | | | | | closes: vim/vim#21327 https://github.com/vim/vim/commit/f1a677c4fb21874874afd57f3c1b31bcb3ed587b Co-authored-by: Eisuke Kawashima <e-kwsm@users.noreply.github.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:5c9c5a4: runtime(c): syntax depends on the 'iskeyword' optionzeertzjq2026-08-31
| | | | | | | | | | | | | | | | Problem: C keywords are matched using the characters from 'iskeyword', so changing that option highlights part of an identifier as a keyword and leaves keywords containing an underscore unhighlighted. Solution: Set the keyword characters with ":syn iskeyword". fixes: vim/vim#21173 closes: vim/vim#21176 https://github.com/vim/vim/commit/5c9c5a43c183e8d1e4156b468343d0aa0f3b081c Co-authored-by: Hirohito Higashi <h.east.727@gmail.com> Co-Authored-By: Maxim Kim <habamax@gmail.com>
* vim-patch:5a1124e: runtime(c): compound literal braces are highlighted as errorszeertzjq2026-08-05
| | | | | | | | | | | | | | | Problem: Braces in C compound literals and initializers inside parentheses and brackets are highlighted as errors. Solution: Recognize those initializer blocks while preserving syntax recovery for malformed parentheses. fixes: vim/vim#18709 closes: vim/vim#20842 https://github.com/vim/vim/commit/5a1124e4f59fafa0c774db956ae1e86bdd259442 Co-authored-by: Bogdan Barbu <l4b.bogdan.barbu@gmail.com>
* vim-patch:77b2376: runtime(c): classify type qualifiers, function specifiers ↵zeertzjq2026-06-02
| | | | | | | | | | | | | | | | | | | | | and C23 attributes Move const, volatile, restrict and _Atomic to a new cTypeQualifier group and inline and _Noreturn to cFunctionSpec. Add the C23 standard attributes deprecated, fallthrough, maybe_unused, nodiscard, unsequenced and reproducible as cStandardAttribute, and reclassify the existing noreturn into the same group. The new groups link to cStorageClass, so the default highlighting and any existing cStorageClass override are unchanged, while allowing finer-grained customization. fixes: vim/vim#19574 closes: vim/vim#20368 https://github.com/vim/vim/commit/77b2376769a3f6b0dc21467a56986f3725fc270d Co-authored-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
* vim-patch:5529b75: runtime(c): Do not highlight noreturn in C++ codezeertzjq2026-01-16
| | | | | | | | closes: vim/vim#19170 https://github.com/vim/vim/commit/5529b750a7ce6dcafaecb119d674b99275dbe3c7 Co-authored-by: Wu Yongwei <wuyongwei@gmail.com>
* vim-patch:7fe4b8c: runtime(c): Update signal constants in syntax scriptzeertzjq2025-11-21
| | | | | | | | closes: vim/vim#18763 https://github.com/vim/vim/commit/7fe4b8c1bd34e6bf108a7127903be9508809e17c Co-authored-by: Harry <166658338+harrystevens4@users.noreply.github.com>
* vim-patch:e064051: runtime(c): add new constexpr keyword to syntax file (C23)Christian Clason2025-01-18
| | | | | | | | closes: vim/vim#16471 https://github.com/vim/vim/commit/e06405181a6189aa56e917c1a7e5090a33b07a8a Co-authored-by: Doug Kearns <dougkearns@gmail.com>
* vim-patch:c2a967a: runtime(c): Update syntax and ftplugin filesChristian Clason2025-01-18
| | | | | | | | | | | | | | | | | | | | | | | | | - highlight more C keywords, including some from C23 Conditionally highlight C23 features: - #embed, #elifdef and #elifndef preprocessor directives - predefined macros - UTF-8 character constants - binary integer constants, _BitInt literals, and digit separators - nullptr_t type and associated constant - decimal real floating-point, bit precise and char types - typeof operators Matchit: - update for new preprocessor directives fixes: vim/vim#13667 fixes: vim/vim#13679 closes: vim/vim#12984 https://github.com/vim/vim/commit/c2a967a1b9adca6c929e3dc5c218dfada00059b6 Co-authored-by: Doug Kearns <dougkearns@gmail.com> Co-authored-by: Albin Ahlbäck <albin.ahlback@gmail.com>
* vim-patch:63c39e4ef749Christian Clason2024-03-06
| | | | | | | | | | | runtime(c): Recognize "__inline" (vim/vim#14145) `__inline` is recognized by GCC, and may even be preferred, as MSVC does not recognize `__inline__`. https://github.com/vim/vim/commit/63c39e4ef749883e96a83b9f647ac91516c0d1be Co-authored-by: Wu Yongwei <wuyongwei@gmail.com>
* vim-patch:ca0e9823a1dfChristian Clason2024-01-24
| | | | | | | | | | runtime(c): Highlight user defined functions closes: vim/vim#13763 https://github.com/vim/vim/commit/ca0e9823a1dfd71a17c0f08cb7973d413bf98999 Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
* vim-patch:e978b4534a5e (#24697)Sean Dewar2023-08-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Farewell to Bram and dedicate upcoming Vim 9.1 to him (vim/vim#12749) https://github.com/vim/vim/commit/e978b4534a5e10471108259118c0ef791106fd92 Also update the header for the following files that were converted to Vim9 script upstream: - autoload/ccomplete.lua (vim9jitted) - ftplugin.vim - ftplugof.vim - indent.vim - indent/vim.vim - makemenu.vim This also updates the "Last Change" dates, even if some changes (due to rewrites to Vim9 script) were not ported. There's still a few other places where Bram is still mentioned as a maintainer in the files we and Vim have: - ftplugin/bash.vim - indent/bash.vim - indent/html.vim - indent/mail.vim - macros/accents.vim - macros/editexisting.vim - syntax/bash.vim - syntax/shared/typescriptcommon.vim - syntax/tar.vim - syntax/typescript.vim - syntax/typescriptreact.vim - syntax/zimbu.vim Maybe future patches will address that. Also exclude changes to .po files that didn't apply automatically (the `:messages` maintainer string isn't used in Nvim anyway). Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:71badf9547e8 (#23285)Christian Clason2023-04-23
| | | | | | | Update runtime files https://github.com/vim/vim/commit/71badf9547e8f89571b9a095183671cbb333d528 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:3c053a1a5ad2 (#20679)Christian Clason2022-10-17
| | | | Update runtime files https://github.com/vim/vim/commit/3c053a1a5ad2a3c924929e11f2b9af20a8b901e2
* vim-patch:ce001a337e28 (#18287)Christian Clason2022-04-27
| | | | | | Update runtime files https://github.com/vim/vim/commit/ce001a337e28fa368f40ac6422835d730fb8ebb1 also add `vimStdPlugin` keywords missing from previous updates
* vim-patch:47c532e2bc55 (#17780)Christian Clason2022-03-20
| | | | Update runtime files https://github.com/vim/vim/commit/47c532e2bc55e8a48f7f47e1fae1ed30144f2fa1
* vim-patch:0e6adf8a29d5 (#16682)Christian Clason2021-12-16
| | | | Update runtime files https://github.com/vim/vim/commit/0e6adf8a29d5c2c96c42cc7157f71bf22c2ad471
* 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:207f009326c8Jan Edmund Lazo2021-04-29
| | | | | | | Update runtime files. https://github.com/vim/vim/commit/207f009326c8f878defde0e594d7d9ed9860106e Omit nl.po.
* vim-patch:3d1cde8a2f28Jan Edmund Lazo2021-04-29
| | | | | Update runtime files. https://github.com/vim/vim/commit/3d1cde8a2f28dce2c82d2b2b4c5e35e6662030e0
* vim-patch:91359014b359Jan Edmund Lazo2021-04-27
| | | | | Update runtime files. https://github.com/vim/vim/commit/91359014b359cf816bf943fe2c7d492996263def
* vim-patch:a6c27c47ddf0Justin M. Keyes2019-08-01
| | | | | Update runtime files https://github.com/vim/vim/commit/a6c27c47ddf081859659d7de1caec675147e466b
* vim-patch:4c92e75dd4ddJustin M. Keyes2019-08-01
| | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/4c92e75dd4ddb68dd92a86dd02d53c70dd4af33a vim-patch:c854898881c0 Revert change accidentally included in runtime file updates. Closes vim/vim#3998. https://github.com/vim/vim/commit/c854898881c02259f90170f210bf65bbd20cc1fc
* vim-patch:95bafa296ae9Justin M. Keyes2018-10-30
| | | | | Update runtime files. https://github.com/vim/vim/commit/95bafa296ae97bf420d5c74dd6db517b404c5df7
* vim-patch:40962ec9c0e7Justin M. Keyes2018-10-28
| | | | | Update runtime files. https://github.com/vim/vim/commit/40962ec9c0e7b8699e101182b06ddd39dc0e1212
* vim-patch:b4d6c3ea4a59Justin M. Keyes2017-11-07
| | | | | | Update runtime files. https://github.com/vim/vim/commit/b4d6c3ea4a59c6d8d4e0e52120596866f0edd510
* vim-patch:8.0.0118James McCoy2017-10-17
| | | | | | | | | Runtime updates that were bundled into the otherwise NA commit: Problem: "make proto" adds extra function prototype. Solution: Add vim/vim#ifdef. https://github.com/vim/vim/commit/5162822914372fc916a93f85848c0c82209e7cec
* vim-patch:c0514bf4777aJustin M. Keyes2017-04-30
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/c0514bf4777a1d55f5785b3887c5686fd0bbe870
* vim-patch:6d5ad4c4118cJustin M. Keyes2017-04-29
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/6d5ad4c4118cab5fd96db157621c3aa9af368edb
* vim-patch:063b9d1James McCoy2017-02-01
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/063b9d15abea041a5bfff3ffc4e219e26fd1d4fa
* vim-patch:03413f4James McCoy2016-07-08
| | | | | | | | | | | | | Updated runtime files. https://github.com/vim/vim/commit/03413f44167c4b5cd0012def9bb331e2518c83cf Ignore changes to * doc/Makefile, doc/help.txt: Related to Vim's version8 documentation * doc/gui_x11.txt, doc/todo.txt, doc/vim.1, gvim.desktop, vim.desktop: Irrelevant to Neovim * doc/quickref.txt, doc/options.txt: As of yet unported 'emoji' * doc/tags, syntax/vim.vim: Generated at build time
* vim-patch:38a5563James McCoy2016-06-07
| | | | | | | | | | | Update runtime files. https://github.com/vim/vim/commit/38a55639d603823efcf2d2fdf542dbffdeb60b75 Ignore changes to * doc/channel.txt, doc/eval.txt, doc/various.txt: Channel related docs * doc/tags: Generated at build time * doc/todo.txt, doc/vi_diff.txt: Not relevant to neovim
* 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:2b8388bJustin Gassner2016-01-14
| | | | | | Updated runtime files. https://github.com/vim/vim/commit/2b8388bd0175835eb751e6c58cd0b0b69465f0d9
* vim-patch:f654ad9 #2659Perry Hung2015-05-20
| | | | | | | | Update runtime files. https://code.google.com/p/vim/source/detail?r=f654ad95fd4e25e014dda71963b9745a4bf5f83b Resolves issue #1999.
* vim-patch:bd18da9Florian Walch2015-01-21
| | | | | | Update runtime files. https://code.google.com/p/vim/source/detail?r=bd18da914be9d43a70713f6af02770a0d3280159
* 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>