[vim/vim] highlight more C keywords, including some from C23 (PR #10265)

58 views
Skip to first unread message

Albin Ahlbäck

unread,
Apr 23, 2022, 8:16:12 PM4/23/22
to vim/vim, Subscribed

Added some keywords, some that are from C99 and some from C23.

As C23 is not completed yet, I chose to enforce users to define c_c23 if they want such features.

It is very okay if this PR sits for a year until C23 has been set in stone.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/10265

Commit Summary

  • adbc544 highlight more C keywords, including some from C23

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/10265@github.com>

Bram Moolenaar

unread,
Apr 24, 2022, 6:51:58 AM4/24/22
to vim/vim, Subscribed


> Added some keywords, some that are from C99 and some from C23.
>
> As C23 is not completed yet, I chose to enforce users to define
> `c_c23` if they want such features.
>
> It is very okay if this PR sits for a year until C23 has been set in stone.

If some items become part of the C standard soon, it might be useful to
highlight them in a special way, so that you know that something you are
using might break later. Perhaps using cFuture?

Then we can use c_no_c23 as usual. Once the standard is finilized the
highlight group would change.

--
Everybody lies, but it doesn't matter since nobody listens.
-- Lieberman's Law

/// Bram Moolenaar -- ***@***.*** -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/10265/c1107815432@github.com>

Yegappan Lakshmanan

unread,
Aug 14, 2023, 12:56:56 AM8/14/23
to vim/vim, Subscribed

Can you update and rebase this PR to the latest?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/10265/c1676677714@github.com>

Albin Ahlbäck

unread,
May 30, 2024, 2:38:59 PM5/30/24
to vim/vim, Subscribed

Closing in favor of #12984


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/10265/c2140622124@github.com>

Albin Ahlbäck

unread,
May 30, 2024, 2:39:02 PM5/30/24
to vim/vim, Subscribed

Closed #10265.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/10265/issue_event/12990281665@github.com>

Reply all
Reply to author
Forward
0 new messages