Variable: c-ts-mode--optional-c-keywords
c-ts-mode--optional-c-keywords is a variable defined in
c-ts-mode.el.gz.
Value
(("v0.20.4" "_Generic" "_Noreturn" "noreturn" "__attribute__"
"__restrict__" "offsetof" "thread_local")
("v0.20.5" "__extension__" "__extension__" "__forceinline" "__inline"
"__inline__" "__thread" "__alignof__" "__alignof" "alignof"
"_Alignof")
("v0.20.7" "__try" "__except" "__finally" "__leave")
("v0.23.1"
("_Nonnull" "__attribute" "alignas" "_Alignas" "__asm"
"__volatile__")))
Documentation
Keywords added in each tree-sitter-c version.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-mode.el.gz
(defvar c-ts-mode--optional-c-keywords
;; v0.20.4 actually contains all the new keywords I can find that
;; aren't in c-ts-mode before. The version doesn't really matter, we
;; just want a rough grouping so that we can enable as much keywords
;; as possible.
'(("v0.20.4" . ("_Generic" "_Noreturn" "noreturn"
"__attribute__" "__restrict__"
"offsetof" "thread_local"))
("v0.20.5" . ("__extension__" "__extension__"
"__forceinline" "__inline" "__inline__"
"__thread"
"__alignof__" "__alignof" "alignof" "_Alignof"))
("v0.20.7" . ("__try" "__except" "__finally" "__leave"))
;; GitHub release jumped from v0.20.7 to v0.23.1. There are
;; intermediate git tags, but there aren't many keywords here, so I
;; skipped intermediate versions too.
("v0.23.1" ("_Nonnull" "__attribute"
"alignas" "_Alignas" "__asm" "__volatile__"))
;; No changes to keywords in v0.23.2, v0.23.3, v0.23.4.
)
"Keywords added in each tree-sitter-c version.")